[Samba] missing DomainDnsZones and ForestDnsZones ?

Robert Moulton rmoulton at uw.edu
Fri Mar 18 18:19:23 UTC 2016

Greetings - On our samba 4 (4.3.3) AD controller I just noticed 
something odd. When I run 'samba-tool fsmo show' I get an error:

# samba-tool fsmo show
ERROR(ldb): uncaught exception - No such Base DN: 
line 175, in _run
     return self.run(*args, **kwargs)
line 395, in run
     domaindnszonesMaster = get_fsmo_roleowner(samdb, domaindns_dn)
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=Configuration,DC=biostat,DC=washington,DC=edu
dn: DC=biostat,DC=washington,DC=edu
dn: CN=Infrastructure,DC=biostat,DC=washington,DC=edu
dn: CN=RID Manager$,CN=System,DC=biostat,DC=washington,DC=edu

What might explain this anomaly, and more importantly, what should be 
done to address it?


More information about the samba mailing list