[Samba] Samba 4 AD DC and BIND

Daniel Müller mueller at tropenklinik.de
Wed Mar 20 00:59:16 MDT 2013

/usr/local/samba/bin/samba-tool dns query yourdnshost.your.domain
your.domain @ ALL

Ex: samba-tool dns query samba4.tplechler.kkh  tlechler.kkh @ ALL
Will do:
Password for [administrator at TPLECHLER.KKH]:

Greetings Daniel

EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Gerry Reno
Gesendet: Mittwoch, 20. März 2013 04:06
An: samba at lists.samba.org
Betreff: Re: [Samba] Samba 4 AD DC and BIND

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
ERROR(runtime): uncaught exception - (-1073741772,
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)


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