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