[Samba] log filled with krb5 error

Michael Tokarev mjt at tls.msk.ru
Fri Sep 8 14:41:36 UTC 2023


08.09.2023 11:41, Arnaud FLORENT via samba пишет:
> Hi every one
> 
> 
> we are running samba 4.16 on ubuntu 20.04 from http://www.corpit.ru/mjt
> 
> server is running in NT mode PDC
> 
> and log.rpcd_spoolss get filled with messages like below
> 
> event after setting log level=0 in smb.conf
> 
> [2023/09/08 10:29:58,  0] ../../lib/krb5_wrap/krb5_samba.c:3683(smb_krb5_init_context_common)
>    smb_krb5_init_context_common: Krb5 context initialization failed (N'est pas un dossier)
> [2023/09/08 10:29:58,  0] ../../lib/krb5_wrap/krb5_samba.c:3683(smb_krb5_init_context_common)
>    smb_krb5_init_context_common: Krb5 context initialization failed (N'est pas un dossier)

This is a generic kerberos (heimdal) init failure, coming from
third_party/heimdal/lib/krb5/context.c:krb5_init_context().

I guess either $HOME points to a non-directory or home field
in /etc/password.

/mjt



More information about the samba mailing list