[Samba] missing _msdcs

banda bassotti bandabasotti at gmail.com
Wed May 1 08:02:11 UTC 2019

Hi, I migrated windows 2008r2 on samba, everything or almost correctly
works except the dns. I realized that one entry is missing:

ldbsearch -H /var/lib/samba/private/sam.ldb -b
"DC=DomainDnsZones,DC=mydomain,DC=lan"  | grep DC=_msdcs

samba-tool dns serverinfo -UAdministrator at mydomain.lan
Password for [Administrator at mydomain.lan]:
ERROR(runtime): uncaught exception - (9717, 'WERR_DNS_ERROR_DS_UNAVAILABLE')
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 559, in
    None, 'ServerInfo')

how to fix?

thnx a lot

More information about the samba mailing list