[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: 
CN=Infrastructure,DC=DomainDnsZones,DC=biostat,DC=washington,DC=edu
   File 
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py", 
line 175, in _run
     return self.run(*args, **kwargs)
   File 
"/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=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?

thanks,
-r



More information about the samba mailing list