[Samba] Samba 4 AD DC and BIND

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Tue Mar 19 20:57:33 MDT 2013


Try first a kinit administrator, then enter the administrator password,
then /usr/local/samba/bin/samba-tool dns query COMPANY.company.com
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


On Tue, Mar 19, 2013 at 8:09 PM, Gerry Reno <greno at verizon.net> wrote:

> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



--


More information about the samba mailing list