[Samba] Kerberos kinit not running

Rowland Penny rpenny at samba.org
Thu Jul 21 18:14:07 UTC 2022


On Thu, 2022-07-21 at 20:05 +0200, Maurizio Caloro via samba wrote:
>  > If you run 'hostname -d', does it return 'testad.caloro.m' ?
> root at testad:# hostname -d
> Caloro.m
> 
> i need to beginn from scratch??

Possibly, what dns domain did you use when you provisioned your AD
domain ?

> 
> root at testad:/home/maurizio# samba-tool testparm
> INFO 2022-07-21 18:59:51,713 pid:746 
> /usr/lib/python3/dist-packages/samba/netcmd/testparm.py #96: Loaded
> smb 
> config files from /etc/samba/smb.conf
> INFO 2022-07-21 18:59:51,713 pid:746 
> /usr/lib/python3/dist-packages/samba/netcmd/testparm.py #97: Loaded 
> services file OK.
> Press enter to see a dump of your service definitions
> 
> # Global parameters
> [global]
>          netbios name = TESTAD
>          realm = CALORO.M
>          server role = active directory domain controller
>          server services = s3fs, rpc,         read only = No> 
> root at testad:#> 
> > 
> 
>  nbt, wrepl, ldap, cldap, kdc, 
> drepl, winbindd, ntp_signd, kcc, dnsupdate
>          winbind expand groups = 2
>          workgroup = CALORO
>          idmap_ldb:use rfc2307 = yes
> 
> [sysvol]
>          path = /var/lib/samba/sysvol
>          read only = No
> 
> [netlogon]
>          path = /var/lib/samba/sysvol/testad.caloro.m/scripts

That line is what is making me think that you were using
'testad.caloro.m' during the provision.

Rowland





More information about the samba mailing list