Hi, may I'm bad, but for me, all the "samba-tool dns" doesn't works .. And I don't understand the error return .. # samba-tool dns zonelist SERVER ERROR(runtime): uncaught exception - (-1073741772, 'The object name is not found.') File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 809, in run dns_conn = dns_connect(server, self.lp, self.creds) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 40, in dns_connect dns_conn = dnsserver.dnsserver(binding_str, lp, creds) Thanks, Lucas.
This looks like a reporting bug in our tools, which was somewhat fixed by commit 5701b99b5c134ee6ffffa0f34c2797c9c814d280 "samba-tool dns: Trap on conneciton errors and give useful info" (2015-10-20). Lucas, your original problem with # samba-tool dns zonelist SERVER is that "SERVER" is not the name of an existing server, according to DNS. The fix was to convey this message better.