[Samba] Samba 4 AD DC and BIND

Gerry Reno greno at verizon.net
Tue Mar 19 21:06:21 MDT 2013

On 03/19/2013 10:57 PM, Ricky Nance wrote:
> Try first a kinit administrator, then enter the administrator password, then /usr/local/samba/bin/samba-tool dns query
> COMPANY.company.com <http://COMPANY.company.com> company.com <http://company.com/> @ ALL (notice no -U this time, and
> the format of host.realm instead of just host... I mistyped that in the last message) and see if it works, this will
> cause that tool to use kerberos instead of the regular login.
> Ricky


Did the kinit and got a good ticket.

# /usr/local/samba/bin/samba-tool dns query COMPANY.company.com company.com @ ALL
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)


More information about the samba mailing list