[Samba] Samba 4 AD DC and BIND

Gerry Reno greno at verizon.net
Tue Mar 19 19:09:07 MDT 2013


On 03/19/2013 09:00 PM, Ricky Nance wrote:
> Try samba-tool dns query netbiosname company.com <http://company.com> @ ALL -Uadministrator%HIDDEN (where netbiosname
> is generally the same as your computers hostname)... try to avoid using 127.0.0.1 or localhost. Also that error is
> often signs of DNS server not running, so doublecheck that with netstat -anp | grep 53 | grep "LISTEN ".
>
> Ricky
>

DNS is running just fine.  Otherwise I would not have gotten answers on the first good query.

# ps -ef | grep named
named    9313    1    0    13:36 ?        00:00:00    /usr/sbin/named  -u  named

And that last netbiosname style command gives this error:   

    # /usr/local/samba/bin/samba-tool dns query COMPANY company.com @ ALL -Uadministrator%HIDDEN
    ERROR(runtime): uncaught exception - (-1073741772, 'NT_STATUS_OBJECT_NAME_NOT_FOUND')
      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/dns.py", line 970, in run
        dns_conn = dns_connect(server, self.lp, self.creds)
      File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/dns.py", line 37, in dns_connect
        dns_conn = dnsserver.dnsserver(binding_str, lp, creds)

-Gerry




More information about the samba mailing list