[Samba] Kerberos kinit not running
Rowland Penny
rpenny at samba.org
Tue Jul 19 20:32:47 UTC 2022
On Tue, 2022-07-19 at 22:09 +0200, Maurizio Caloro via samba wrote:
> hello
>
> after installing Samba 4.15.7 from Luis distro now i have the problem
> that me kinit Username not running any more. also arnt possible to
> join
> to Domain.
>
> i think this are running out from this following error.
> meny thanks for possible help
>
> --
>
> /etc/samba# kinit Administrator at Caloro.m
> kinit: Cannot find KDC for realm "Caloro.m" while getting initial
> credentials
>
> /etc/samba# kinit Administrator at CALORO.M
> kinit: Client 'Administrator at CALORO.M' not found in Kerberos
> database
> while getting initial credentials
This works for me.
>
>
> /etc/samba# cat /etc/krb5.conf
> [libdefaults]
> default_realm = CALORO.M
> dns_lookup_realm = false
> dns_lookup_kdc = true
You only need the lines above.
>
>
> ● krb5-kdc.service - Kerberos 5 Key Distribution Center
> Loaded: loaded (/lib/systemd/system/krb5-kdc.service; enabled;
> vendor preset: enabled)
Turn this off and remove it, you are running two kdc's, the Heimdal one
built into Samba and the MIT kdc.
Rowland
More information about the samba
mailing list