search for: ldberror

Displaying 20 results from an estimated 52 matches for "ldberror".

2018 Jun 27
2
sambaundoguididx fails with ldb transaction error
Hi, trying to revert 4.8.0/1 issues with sambaundoguididx and getting following: Traceback (most recent call last): File "/root/sambaundoguididx", line 66, in <module> db.modify(modmsg) _ldb.LdbError: (32, 'ldb_wait from (null) with LDB_WAIT_ALL: No such object (32)') A transaction is still active in ldb context [0x56060ac2a310] on tdb:///var/lib/samba/private/sam.ldb Best regards Torsten Fohrer
2018 Mar 19
2
Fwd: Re: Erro Upgrade Samba 4.6.3 to 4.8
...15:57 -0300, Carlos wrote: > Hi, > > I executed process, but erro: > > /opt/samba-4.8.0/source4/scripting/bin# ./sambaundoguididx > Traceback (most recent call last): > File "./sambaundoguididx", line 54, in <module> > samdb.modify(modmsg) > _ldb.LdbError: (32, 'ldb_wait: No such object (32)') > A transaction is still active in ldb context [0x27d8e50] on > tdb:///var/lib/samba/private/sam.ldb > > Regards; Then I'm very sorry, if that (/var/lib/samba/private/sam.ldb) is the correct path, then I hope you have a good backup,...
2020 Aug 11
2
Switching roles between 2 DCs
...though: ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' object has no attribute 'drs_utils' The solution offered and working is inserting ? import samba ? import samba.getopt as options ? import ldb +import samba.drs_utils ? from ldb import LdbError into /usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py Lothar Am 11.08.2020 um 15:36 schrieb Rowland penny via samba: > On 11/08/2020 14:01, Lothar Schilling via samba wrote: >> samba-tool fsmo transfer --role=domaindns -k yes >> Password for [MY_DOMAIN\root]: >> >&g...
2018 Feb 19
3
Is it possible to lower the domain and forest functional level
...names, basedn, listMissing) File "source4/scripting/bin/samba_upgradeprovision", line 757, in add_missing_entries hashMissing, index) File "source4/scripting/bin/samba_upgradeprovision", line 616, in add_missing_object controls=["search_options:1:2"]) _ldb.LdbError: (1, 'Unable to parse search expression') Could the "ê" be a problem or the length of the string ? --------------------------------------------- Christophe Borivant Responsable d'exploitation informatique +33 5 62 20 71 71 (Poste 503) Devinlec - Groupe Leclerc -------------...
2014 Dec 11
2
DNS backend on samba4 nt4 style
...line 56, in __init__* * options=options)* * File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in __init__* * self.connect(url, flags, options)* * File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 71, in connect* * options=options)* *_ldb.LdbError: (32, 'dsdb_module_search_dn: did not find base dn @ROOTDSE (0 results)')* -- Elias Pereira
2018 Jun 07
4
sambaundoguidindex
...ere the error i'm getting : root at samba:~/samba-4.8.2/source4/scripting/bin# killall samba root at samba:~/samba-4.8.2/source4/scripting/bin# ./sambaundoguididx Traceback (most recent call last): File "./sambaundoguididx", line 54, in <module> samdb.modify(modmsg) _ldb.LdbError: (32, 'ldb_wait from (null) with LDB_WAIT_ALL: No such object (32)') A transaction is still active in ldb context [0x581b2778] on tdb:///var/lib/samba/private/sam.ldb Don't really know how to deal with this and google leave me with no clue. Renaud
2020 Feb 10
4
samba_kcc issue after joining the domain as a DC
...ng the domain, so for debugging purposes I then started samba_kcc manually): # /usr/local/samba/sbin/samba_kcc Traceback (most recent call last): File "/usr/local/samba/lib64/python3.6/site-packages/samba/kcc/kcc_utils.py", line 87, in load_nc scope=ldb.SCOPE_BASE, attrs=attrs) _ldb.LdbError: (32, 'No such Base DN: DC=DomainDnsZones,DC=domain,DC=com') ... File "/usr/local/samba/lib64/python3.6/site-packages/samba/kcc/kcc_utils.py", line 92, in load_nc (self.nc_dnstr, estr)) samba.kcc.kcc_utils.KCCError: Unable to find naming context (DC=DomainDnsZones,DC=domain,...
2018 Mar 20
1
Fwd: Re: Erro Upgrade Samba 4.6.3 to 4.8
...executed process, but erro: >>> >>> /opt/samba-4.8.0/source4/scripting/bin# ./sambaundoguididx >>> Traceback (most recent call last): >>> File "./sambaundoguididx", line 54, in <module> >>> samdb.modify(modmsg) >>> _ldb.LdbError: (32, 'ldb_wait: No such object (32)') >>> A transaction is still active in ldb context [0x27d8e50] on >>> tdb:///var/lib/samba/private/sam.ldb >>> >>> Regards; >> Then I'm very sorry, if that (/var/lib/samba/private/sam.ldb) is the >> cor...
2009 Dec 11
1
samba4 newuser probs
...9, in <module> samdb.newuser(username, opts.unixname, password, force_password_change_at_next_login_req=opts.must_change_at_next_login) File "/usr/local/samba/lib/python2.6/site-packages/samba/samdb.py", line 129, in newuser "objectClass": "user"}) _ldb.LdbError: (32, 'objectclass: Cannot add CN=test,CN=Users,DC=jordan,DC=net, parent does not exist!') ------------------------------------------ i can see that there is a prob with the CN=Users, but what's the idea. i thought the provisioning did all the schema's and setup the ldap backend i...
2012 Feb 11
1
samba 4 provision fails
...ot;KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le')) File "bin/python/samba/provision/common.py", line 52, in setup_add_ldif ldb.add_ldif(data, controls) File "bin/python/samba/__init__.py", line 221, in add_ldif self.add(msg, controls) _ldb.LdbError: (1, 'operations error at ../source4/dsdb/samdb/ldb_modules/password_hash.c:2163') Any ideas? Thanks, Steve
2018 Mar 19
2
Fwd: Re: Erro Upgrade Samba 4.6.3 to 4.8
On Mon, 2018-03-19 at 15:28 -0300, Carlos wrote: > Hi! > Ok, two question: > > 1 - I run the "sambaundoguididx" and then, compile the old version samva (I'll go back to 4.6.3), is this the process? Yes. You can move to 4.7 ideally. > 2 - Or should you run sambaundoguididx, move samba to version 4.7 and then upgrade to 4.8? No. As I've tried to say a number of
2011 Mar 06
1
Samba4 - Constraint violation - check_password_restrictions: the password does not meet the complexity criteria!'
...uot;KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le')) File "bin/python/samba/provision/__init__.py", line 366, in setup_add_ldif ldb.add_ldif(data, controls) File "bin/python/samba/__init__.py", line 221, in add_ldif self.add(msg, controls) _ldb.LdbError: (19, '0000052D: Constraint violation - check_password_restrictions: the password does not meet the complexity criteria!') Thanks in advance. -- Suluck R.
2024 Jun 05
1
Failed to bind to uuid NT_STATUS_LOGON_FAILURE
...File > "/usr/lib64/python3.8/site-packages/samba/__init__.py", line 114, > in__init__ self.connect(url, flags, options) File > "/usr/lib64/python3.8/site-packages/samba/samdb.py", line 106, > inconnect super(SamDB, self).connect(url=url, > flags=flags,_ldb.LdbError: (32, 'dsdb_module_search_dn: did not find > base dn @ROOTDSE(0 results)')I specified the location of smb.conf, > why does this script follow adifferent path to search for internal > samba files? > ??, 5 ???. 2024??. ? 17:02, Rowland Penny via samba < > samba at lists.samb...
2010 Feb 09
2
Provision script fails with Samba4 (latest git version)
...n.py", line 945, in setup_samdb "SAMBA_VERSION_STRING": version File "bin/python/samba/provision.py", line 260, in setup_modify_ldif ldb.modify_ldif(data) File "bin/python/samba/__init__.py", line 261, in modify_ldif self.modify(msg, controls) _ldb.LdbError: (1, 'LDAP client internal error: NT_STATUS_INTERNAL_ERROR') A transaction is still active in ldb context [0x42f1450] on /usr/local/samba4/private/secrets.ldb Any one with any ideas on where I progress from here with this? I seem to have come to a road block. Thanks for any help you can p...
2019 Jan 30
2
DNS failure
...__init__ options=options) File "/usr/local/samba/lib/python2.7/site-packages/samba/__init__.py", line 115, in __init__ self.connect(url, flags, options) File "/usr/local/samba/lib/python2.7/site-packages/samba/samdb.py", line 79, in connect options=options) _ldb.LdbError: (1, None) Suggestions??? (help!) -- Thank you. Bob Wooden
2020 Aug 14
4
Samba4 syncpassword fails
>Then I am at a loss, if nothing really changed, why are you getting the >error ? Well, I ask myself the same question. The fact is that it went bad at the precise second we tried to add a new remote DC to the domain. This never happened before has we had many other remote DCs and use to join them whitout any problem. I was hopping that deleting and recreating the ldb cache would be
2016 Apr 12
2
Failed to re-index objectSid after botched DLZ back-end update
..."DNSNAME" : dnsname } File "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line 55, in setup_add_ldif ldb.add_ldif(data, controls) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 225, in add_ldif self.add(msg, controls) _ldb.LdbError: (68, '../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in CN=dns-rhea,CN=Users,DC=knockinc,DC=loc - ../lib/ldb/ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in CN=dns-rhea,CN=Users,DC=knockinc,DC=loc') As best I can tell, a "dns-rhea" user (Rhea...
2016 Nov 17
2
readonly DC?
..."DNSNAME" : dnsname } File "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line 55, in setup_add_ldif ldb.add_ldif(data, controls) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 225, in add_ldif self.add(msg, controls) _ldb.LdbError: (68, '../ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in CN=dns-dc2,CN=Users,DC=samba,DC=lindenberg,DC=one - ../ldb_tdb/ldb_index.c:1148: unique index violation on objectSid in CN=dns-dc2,CN=Users,DC=samba,DC=lindenberg,D\xe0') With plenty of error messages that I don´t like to...
2010 Jan 07
1
LDAP_NO_SUCH_OBJECT upon new user creation in s4/OpenLDAP
...probably not yet implemented, right? Going the howto-way, "<source-dir>/setup/newuser blah" prompts for a password, displays messages about skipping the loading of schema, naming context details and domain details, and then failes with the following error message: > > _ldb.LdbError: (32, 'objectclass: Cannot add CN=blah,CN=Users,DC=localdomain, parent does not exist!') Alpha10 showed the same problem. Looking into the code you can see that it accepts options to pass credentials. Providing the 'LDAP Admin User' name and password from the output of the prov...
2018 Nov 15
3
Samba4 - DnsAdmins group dissapeared
.../samba/provision/__init__.py", line 330, in find_provision_key_parameters     dns_admins_sid = get_dnsadmins_sid(samdb, names.domaindn)   File "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 69, in get_dnsadmins_sid     attrs=["objectSid"]) _ldb.LdbError: (32, 'No such Base DN: CN=DnsAdmins,CN=Users,DC=mydomain,DC=lan') ** If i try an ldbsearch or an ldapsearch, i can't find any DnsAdmins group, even on the main DC. What's going wrong?