[Samba] Samba 4 AD DC and BIND

Daniel Müller mueller at tropenklinik.de
Wed Mar 20 07:27:57 MDT 2013


This should do the reverse lookup:
Ex: samba-tool dns query 192.168.132.123 132.168.192.in-addr.arpa   @  All

Name=, Records=3, Children=0
    SOA: serial=6, refresh=900, retry=600, expire=86400,
ns=linux2.tplechler.kkh., email=hostmaster.tplechler.kkh. (flags=600000f0,
serial=6, ttl=3600)
    NS: linux2.tplechler.kkh. (flags=600000f0, serial=1, ttl=0)
    NS: samba4.tplechler.kkh. (flags=600000f0, serial=5, ttl=0)
  Name=kkh, Records=0, Children=1
  Name=123, Records=1, Children=0
    PTR: linux2.tplechler.kkh (flags=f0, serial=2, ttl=0)
  Name=132, Records=1, Children=0
    PTR: samba4.tplechler.kkh (flags=f0, serial=3, ttl=0)


Samba-tool dns query IP.YOUR.DNS:SERVER  reverse.dns.zone.in-addr.arpa @ ALL
-----------------------------------------------
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 Daniel Müller
Gesendet: Mittwoch, 20. März 2013 14:15
An: 'Gerry Reno'; samba at lists.samba.org
Betreff: Re: [Samba] Samba 4 AD DC and BIND

It looks as if the script does not like reverse lookups!???

-----------------------------------------------
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 13:59
An: samba at lists.samba.org
Betreff: Re: [Samba] Samba 4 AD DC and BIND

On 03/20/2013 02:59 AM, Daniel Müller wrote:
> /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
>
>

Hi Daniel, yes you're correct.  That works with my BIND9 DLZ backend.

When I use dns name for the samba machine, eg: samba.company.com then it
works both with and without Kerberos auth.  But
if I use anything else, even the machine IP, it fails.   Seems like it
should work if you use the machine IP but it doesn't


-Gerry
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

--
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