[Samba] Serverinfo Error
Rowland penny
rpenny at samba.org
Thu Jul 25 16:35:57 UTC 2019
On 25/07/2019 16:48, Robert A Wooldridge via samba wrote:
> On 07/25/2019 10:36 AM, Rowland penny via samba wrote:
>> This probably means that you do not have the libnss-winbind links
>> and/or /etc/nsswitch.conf set up to return AD users (this is not
>> required on a DC, only if you want to use the DC as a fileserver).
> Not using it as a file server. So back to the original question which
> is why am I getting a serverinfo error:
>
> athena:~# samba-tool dns serverinfo athena
> ERROR(runtime): uncaught exception - (9717,
> 'WERR_DNS_ERROR_DS_UNAVAILABLE')
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
> line 177, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line
> 564, in run
> None, 'ServerInfo')
>
>
Well, 'WERR' is short for 'Windows Error' (I think) and
'DNS_ERROR_DS_UNAVAILABLE' is supposed to mean that the Directory
Service is unavailable. Is something getting in the way (Apparmor,
Selinux, a firewall etc). Is Samba actually running ? Are you using
Bind9, if so, is it running and set up correctly ?
Rowland
More information about the samba
mailing list