[Samba] Samba still DNS Exit Code 23

maurizio at caloro.ch maurizio at caloro.ch
Tue Mar 24 11:29:44 UTC 2020


Yesterday i delete the hole debian machine and rebuild Samba ad-dc
Same issu, thanks for any help or update.



root at AD:/home/mauri# kinit Administrator
Password for Administrator at CALORO.M:
kinit: Password incorrect while getting initial credentials


root at AD:/source# cat /tmp/samba-debug-info.txt
Collected config  --- 2020-03-24-12:27 -----------

Hostname: AD
DNS Domain: CALORO.M
FQDN: AD.CALORO.M
ipaddress: 192.168.1.7

-----------

Kerberos SRV _kerberos._tcp.CALORO.M record verified ok, sample output:
Server:         192.168.1.7
Address:        192.168.1.7#53

_kerberos._tcp.CALORO.M service = 0 100 88 ad.caloro.m.



Password for Administrator at CALORO.M:
kinit: Password incorrect while getting initial credentials
Wrong password or kerberos REALM problems, exiting now.
root at AD:/source#


root at AD:/home/mauri# cat /etc/resolv.conf
domain CALORO.M
nameserver 192.168.1.7

root at AD:/home/maur# ping caloro.m
PING ad.caloro.m (192.168.1.7) 56(84) bytes of data.
64 bytes from ad.caloro.m (192.168.1.7): icmp_seq=1 ttl=64 time=0.016 ms
64 bytes from ad.caloro.m (192.168.1.7): icmp_seq=2 ttl=64 time=0.046 ms


--- ad.caloro.m ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 31ms
rtt min/avg/max/mdev = 0.016/0.031/0.046/0.015 ms

root at AD:/home/mauri# cat /etc/hosts
127.0.0.1       localhost
192.168.1.7     ad.caloro.m     caloro.m

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
root at AD:/home/maur#



-----Ursprüngliche Nachricht-----
Von: samba <samba-bounces at lists.samba.org> Im Auftrag von Rowland penny via samba
Gesendet: Montag, 23. März 2020 16:30
An: maurizio at caloro.ch
Cc: samba at lists.samba.org
Betreff: Re: [Samba] Samba still DNS Exit Code 23

On 23/03/2020 14:59, mauri via samba wrote:
> Meny thanks for our fast answer !
>
> root at AD:/source# cat /tmp/samba-debug-info.txt Collected config  --- 
> 2020-03-23-15:57 -----------
>
> Hostname: AD
> DNS Domain: Caloro.m
> FQDN: AD.Caloro.m
> ipaddress: 192.168.1.7
>
> -----------
>
> Kerberos SRV _kerberos._tcp.Caloro.m record verified ok, sample output:
> Server:         192.168.1.9
> Address:        192.168.1.9#53
>
> _kerberos._tcp.caloro.m service = 0 0 88 AD.CALORO.M.
>
> -----Ursprüngliche Nachricht-----
> Von: maurizio at caloro.ch <maurizio at caloro.ch>
> Gesendet: Montag, 23. März 2020 15:45
> An: 'L.P.H. van Belle' <belle at bazuin.nl>
> Betreff: AW: [Samba] Samba still DNS Exit Code 23
>
> Meny thanks for our fast answer !
>
> root at AD:/source# ./samba-collect-debug-info.sh Please wait, collecting debug info.
>
> Password for Administrator at CALORO.M:
> kinit: Client 'Administrator at CALORO.M' not found in Kerberos database while getting initial credentials Wrong password or kerberos REALM problems, exiting now.
>
> smbpasswd -a administrator, but the same issue

First problem, you do not use smbpasswd against a Samba AD DC.

Louis's script has a problem, if 'kinit' fails, then the rest of the test script fails, try my version attached.

Just about all your post tells me, your /etc/resolv.conf is probably set up incorrectly, it should be:

search Caloro.m
nameserver 192.168.1.7

Rowland


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