[Samba] issue joining domain and now logging in

Rowland Penny rpenny at samba.org
Sat Oct 15 18:10:14 UTC 2022



On 15/10/2022 18:57, Diego Franchini wrote:
> On Samba Version 4.16.5-Debian (OS: Armbian 22.08.4 - Linux 
> 5.19.14-sunxi), I cannot make this command work:
> 
> root at SMBDC1:~# kinit Administrator
> kinit: Cannot contact any KDC for realm 'EXAMPLE.COM 
> <http://EXAMPLE.COM>' while getting initial credentials
> 
> with Samba Version 4.15.9-Ubuntu it works perfectly using the same 
> setup... Should I change some config files to adapt them to the new 
> version perhaps?
> 

I wouldn't think so, it works for me on Raspberry pi OS 64bit using 
4.16.5 from backports:

adminuser at rpidc1:~ $ sudo kinit Administrator
Password for Administrator at SAMDOM.EXAMPLE.COM:
adminuser at rpidc1:~ $ sudo klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: Administrator at SAMDOM.EXAMPLE.COM

Valid starting       Expires              Service principal
10/15/2022 19:00:01  10/16/2022 05:00:01 
krbtgt/SAMDOM.EXAMPLE.COM at SAMDOM.EXAMPLE.COM
	renew until 10/16/2022 18:59:43

Is the first nameserver in /etc/resolv.conf the DC's ipaddress (and not 
127.0.0.1) ?

Rowland



More information about the samba mailing list