search for: scope_base

Displaying 20 results from an estimated 35 matches for "scope_base".

2019 Jul 24
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
Hi samba-tool dbcheck ERROR(<class 'KeyError'>): uncaught exception - 'No such element' ? File "/opt/samba/lib/python3.6/site-packages/samba/netcmd/__init__.py", line 185, in _run ??? return self.run(*args, **kwargs) ? File "/opt/samba/lib/python3.6/site-packages/samba/netcmd/dbcheck.py", line 141, in run ???
2019 Jul 24
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
...21, in __init__ >> ??? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) > > I think this is a python 3 problem, the code around line 221 in > dbchecker is this: > > ??????? res = samdb.search(base=ntds_service_dn, > ?????????????????????????? scope=ldb.SCOPE_BASE, > ?????????????????????????? expression="(objectClass=nTDSService)", > ?????????????????????????? attrs=["tombstoneLifetime"]) > ??????? if "tombstoneLifetime" in res[0]: > ??????????? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0])...
2019 Jul 24
0
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
...??? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) >> >> I think this is a python 3 problem, the code around line 221 in >> dbchecker is this: >> >> ??????? res = samdb.search(base=ntds_service_dn, >> ?????????????????????????? scope=ldb.SCOPE_BASE, >> expression="(objectClass=nTDSService)", >> ?????????????????????????? attrs=["tombstoneLifetime"]) >> ??????? if "tombstoneLifetime" in res[0]: >> ??????????? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) >> ??...
2015 Sep 01
2
ldapcmp issue
..."/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line 396, in __init__ self.attributes = self.con.get_attributes(self.dn) File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line 207, in get_attributes res = self.ldb.search(base=object_dn, scope=SCOPE_BASE, attrs=["*"]) --------------------------------------------------------------------------------- samba-tool ldapcmp ldap://deb1.domain.tld ldap://deb2.domain.tld domain * Comparing [DOMAIN] context... * Objects to be compared: 39790 ERROR(ldb): uncaught exception - LDAP client internal e...
2020 Feb 10
4
samba_kcc issue after joining the domain as a DC
...n I launched samba after 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 (...
2016 Mar 18
2
missing DomainDnsZones and ForestDnsZones ?
...t;/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/fsmo.py", line 395, in run domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn) File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/fsmo.py", line 40, in get_fsmo_roleowner scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) And 'ldbsearch' verifies that DomainDnsZones is missing: # ldbsearch --cross-ncs -H /usr/local/samba/private/sam.ldb '(fsmoroleowner=*)' | grep 'dn:' dn: CN=Schema,CN=Configuration,DC=biostat,DC=washington,DC=edu dn: CN=Partitions,CN=Co...
2015 Sep 03
0
ldapcmp issue
...t-packages/samba/netcmd/ldapcmp.py", line > 396, in __init__ > self.attributes = self.con.get_attributes(self.dn) > File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line > 207, in get_attributes > res = self.ldb.search(base=object_dn, scope=SCOPE_BASE, attrs=["*"]) > --------------------------------------------------------------------------------- > samba-tool ldapcmp ldap://deb1.domain.tld ldap://deb2.domain.tld domain > > * Comparing [DOMAIN] context... > > * Objects to be compared: 39790 > ERROR(ldb): uncaught e...
2018 Mar 16
3
samba 4.7->4.8 in place upgrade
Hi, I'm testing the in-place upgrade from 4.7.5 samba to 4.8 and unfortunately it breaks. After the upgrade samba seems to have trouble to find his way through the db: ------------------ #ldbsearch -V Version 4.8.0 #ldbsearch -H private/sam.ldb Unable to determine the DomainSID, can not enforce uniqueness constraint on local domainSIDs search error - No such Base DN: DC=example,DC=com
2020 Aug 21
3
Problem with secondary DC
...local/lib/python3.7/site-packages/samba/dbchecker.py", line 119, in __init__ self.ntds_dsa = ldb.Dn(samdb, samdb.get_dsServiceName()) File "/usr/local/lib/python3.7/site-packages/samba/samdb.py", line 1055, in get_dsServiceName res = self.search(base="", scope=ldb.SCOPE_BASE, attrs=["dsServiceName"]) -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailt...
2018 Nov 29
4
Setup a Samba AD DC as an additional DC
...le > "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line > 469, in run > master = get_fsmo_roleowner(samdb, dn, short_name) > File > "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line > 42, in get_fsmo_roleowner > scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) > Could not find machine account in secrets database: Failed to > fetch machine account password for DARAM from both > secrets.ldb (Could not find entry to match filter: > '(&(flatname=DARAM)(objectclass=primaryDomain))' base: > ...
2015 Sep 03
2
ldapcmp issue
...cmd/ldapcmp.py", line >> 396, in __init__ >> self.attributes = self.con.get_attributes(self.dn) >> File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line >> 207, in get_attributes >> res = self.ldb.search(base=object_dn, scope=SCOPE_BASE, attrs=["*"]) >> >> --------------------------------------------------------------------------------- >> samba-tool ldapcmp ldap://deb1.domain.tld ldap://deb2.domain.tld domain >> >> * Comparing [DOMAIN] context... >> >> * Objects to be compared:...
2016 Mar 18
2
missing DomainDnsZones and ForestDnsZones ?
.../samba/netcmd/fsmo.py", >> line 395, in run >> domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn) >> File >> "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/fsmo.py", >> line 40, in get_fsmo_roleowner >> scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) >> >> And 'ldbsearch' verifies that DomainDnsZones is missing: >> >> # ldbsearch --cross-ncs -H /usr/local/samba/private/sam.ldb >> '(fsmoroleowner=*)' | grep 'dn:' >> dn: CN=Schema,CN=Configuration,DC=b...
2018 Nov 27
10
Setup a Samba AD DC as an additional DC
Hai, I had a quick look. Barry, can you get this script and run it. https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh Then post the results to the list. It collects all info i need to have a better look. I have a few ideas, this might be a resolving order problem, i've based on the errors below. Can you also post the output of bind from the point its
2016 Mar 18
0
missing DomainDnsZones and ForestDnsZones ?
...thon2.6/site-packages/samba/netcmd/fsmo.py", > line 395, in run > domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn) > File > "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/fsmo.py", > line 40, in get_fsmo_roleowner > scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) > > And 'ldbsearch' verifies that DomainDnsZones is missing: > > # ldbsearch --cross-ncs -H /usr/local/samba/private/sam.ldb > '(fsmoroleowner=*)' | grep 'dn:' > dn: CN=Schema,CN=Configuration,DC=biostat,DC=washington,DC...
2018 Mar 16
0
samba 4.7->4.8 in place upgrade
...b64/python2.7/site-packages/samba/dbchecker.py", line 95, in __init__ self.ntds_dsa = ldb.Dn(samdb, samdb.get_dsServiceName()) File "/usr/local/samba/lib64/python2.7/site-packages/samba/samdb.py", line 943, in get_dsServiceName res = self.search(base="", scope=ldb.SCOPE_BASE, attrs=["dsServiceName"]) 2018-03-16 16:35 GMT+03:00 Alexis Pellicier via samba <samba at lists.samba.org >: > Hi, > > I'm testing the in-place upgrade from 4.7.5 samba to 4.8 and unfortunately > it breaks. > After the upgrade samba seems to have trouble to fin...
2014 Oct 07
0
Client drops off Active Directory when DC changes its IP
...vars = get_subst_vars(samdb) File "/usr/bin/samba_dnsupdate", line 271, in get_subst_vars vars['HOSTNAME'] = samdb.host_dns_name() File "/usr/lib/python2.7/site-packages/samba/samdb.py", line 619, in host_dns_name res = self.search(base='', scope=ldb.SCOPE_BASE, attrs=['dNSHostName']) _ldb.LdbError: (34, 'NULL Base DN invalid for a base search') My smb.conf is http://pastebin.com/Rp9rQnPm my krb5.conf is http://pastebin.com/vR457pvb the setup instructions i followed were https://wiki.archlinux.org/index.php/Active_Directory_Integration w...
2018 Dec 01
2
Setup a Samba AD DC as an additional DC
...return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 469, in run master = get_fsmo_roleowner(samdb, dn, short_name) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 42, in get_fsmo_roleowner scope=ldb.SCOPE_BASE, attrs=["fSMORoleOwner"]) INFO: Current debug levels: all: 8 tdb: 8 printdrivers: 8 lanman: 8 smb: 8 rpc_parse: 8 rpc_srv: 8 rpc_cli: 8 passdb: 8 sam: 8 auth: 8 winbind: 8 vfs: 8 idmap: 8 quota: 8 acls: 8 locking: 8 msdfs: 8 dmapi: 8 registry: 8 s...
2024 Jul 17
1
dbcheck gets uncaught exception
...lib/python3/dist-packages/samba/dbchecker.py", line 255, in check_database error_count += self.check_object(object.dn, requested_attrs=attrs) File "/usr/lib/python3/dist-packages/samba/dbchecker.py", line 2310, in check_object res = self.samdb.search(base=dn, scope=ldb.SCOPE_BASE, Thanks for your patience and help Heiko
2020 Feb 10
2
FW: samba_kcc issue after joining the domain as a DC
...gt; experimental and shouldn't be used in production. > >> > >> If non of the above applies, can you provide more info, > what OS, What > >> Samba packages ? etc > >> > >> Rowland > >> > >> > >> > 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...
2017 Dec 14
2
samba 4.7.3 DLZ performance regression
On Fri, 2017-12-15 at 10:16 +1300, Garming Sam via samba wrote: > Hi, > > We've just had another person notice this issue and we're currently > looking into it. If we need someone to test the patch fix, or if we need > more information, we can let you know. > > I've filed a bug as well: > > https://bugzilla.samba.org/show_bug.cgi?id=13191 Attached is a