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) anybody have similar behaviour? is there a config change that would prevent those messages? "N'est pas un dossier" is the french for "is not a folder" what could the path requested ? Thanks. -- Arnaud FLORENT IRIS Technologies
On Fri, 8 Sep 2023 10:41:34 +0200 Arnaud FLORENT via samba <samba at lists.samba.org> wrote:> 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) > > > anybody have similar behaviour? > > is there a config change that would prevent those messages? > > > "N'est pas un dossier" is the french for "is not a folder" > > what could the path requested ? > > > Thanks.As you are running an NT4-style classic PDC, there is absolutely no reason to have any krb5 components installed, an NT4-style domain does not use kerberos. Please post the global part of your smb.conf and a list of the packages you installed. Rowland
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