search for: _ldb

Displaying 20 results from an estimated 43 matches for "_ldb".

Did you mean: __db
2010 Jul 30
1
SAMBA4 DDNS update samba_dnsupdate issues
...4/site-packages/samba/__init__.py:44: RuntimeWarning: Python C API version mismatch for module ldb: This Python has API version 1013, module ldb has version 1012. import ldb /usr/local/samba/lib/python2.4/site-packages/samba/__init__.py:45: RuntimeWarning: Python C API version mismatch for module _ldb: This Python has API version 1013, module _ldb has version 1012. from samba._ldb import Ldb as _Ldb /usr/local/samba/lib/python2.4/site-packages/samba/__init__.py:324: RuntimeWarning: Python C API version mismatch for module _glue: This Python has API version 1013, module _glue has version 1012....
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
...9 at 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...
2018 Feb 19
3
Is it possible to lower the domain and forest functional level
...amdb, 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
...dsdb initialization failed : No such object* *Unable to load modules for /var/lib/samba/private/sam.ldb: dsdb_module_search_dn: did not find base dn @ROOTDSE (0 results)* *Traceback (most recent call last):* * File "/usr/sbin/samba_upgradedns", line 259, in <module>* * ldbs = get_ldbs(paths, creds, system_session(), lp)* * File "/usr/lib/python2.7/dist-packages/samba/upgradehelpers.py", line 140, in get_ldbs* * ldbs.sam = SamDB(paths.samdb, session_info=session, credentials=creds, lp=lp, options=["modules:samba_dsdb"])* * File "/usr/lib/python2.7/d...
2018 Jun 07
4
sambaundoguidindex
...ex, here 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
...joining 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,D...
2018 Mar 20
1
Fwd: Re: Erro Upgrade Samba 4.6.3 to 4.8
...t; 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 &gt...
2009 Dec 11
1
samba4 newuser probs
...ine 69, 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 b...
2012 Feb 11
1
samba 4 provision fails
..."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!'
..."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
...e samba_dsdb initialization > failed : No such objectUnable to load modules for > /var/lib/samba/private/sam.ldb:dsdb_module_search_dn: did not find > base dn @ROOTDSE (0 results)Traceback (most recent call last): File > "./chgtdcpass", line 56, in <module> ldbs = get_ldbs(paths, creds, > session, lp) File "/usr/lib64/python3.8/site- > packages/samba/upgradehelpers.py", line142, in get_ldbs ldbs.sam = > SamDB(paths.samdb, File "/usr/lib64/python3.8/site- > packages/samba/samdb.py", line 90, in__init__ super(SamDB, > self)._...
2010 Feb 09
2
Provision script fails with Samba4 (latest git version)
...vision.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...
2019 Jan 30
2
DNS failure
...4, in __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
2016 Apr 12
2
Failed to re-index objectSid after botched DLZ back-end update
...gt; "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" us...
2016 Nov 17
2
readonly DC?
...gt; "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...
2010 Jan 07
1
LDAP_NO_SUCH_OBJECT upon new user creation in s4/OpenLDAP
...s is 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...
2018 Nov 15
3
Samba4 - DnsAdmins group dissapeared
...kages/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?
2017 May 15
1
report on issue of samba_upgradedns
...quot;DNSNAME" : dnsname } File "/usr/lib64/python2.7/site-packages/samba/provision/common.py", line 55, in setup_add_ldif ldb.add_ldif(data, controls) File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line 225, in add_ldif self.add(msg, controls) _ldb.LdbError: (53, '../source4/dsdb/samdb/ldb_modules/ridalloc.c:556: No RID Set DN - Remote RID Set creation needed') Since it mentions RID creation, I went to the RID master server, looking into the logs, I found: ../source4/rpc_server/drsuapi/getncchanges.c:829: Failed extended alloca...