[Samba] reliability of mounting shares while login

Rowland Penny rpenny at samba.org
Sun Oct 15 19:53:53 UTC 2023


On Sun, 15 Oct 2023 21:39:45 +0200
Johannes Maier via samba <samba at lists.samba.org> wrote:

> Hi @all,
> 
> I have some problems when using pam_mount.conf.xml to mount shares
> via kerberos (and also for ntlm) regarding reliability of the mount.
> I have tested the issue with 2 different environments. My
> environments are: 2 Microsoft Domain Controllers + a separate
> fileserver and Ubuntu 18.04 or 22.04 as clients. My other tested
> environment is one Microsoft Server 2019 (as domain controller and
> fileserver) + Ubuntu 22.04 as client. The login with my configuration
> works all the time reliably, but sometimes the shares are not getting
> mounted. I have read a ton of documentation, but can not figure out
> where the problem really is.
> 
> For me, it looks like cifs.upcall is sometimes using a wrong file
> name for the cache internally. I have also tried with the kernel
> cache, but that seems to even increase the problem.
> 
> Steps to reproduce (client side):
> - Microsoft Server 2019 as Domain Controller
> - Install Ubuntu 22.04
> - configure domain name in /etc/krb5.conf
> - join the domain with realm -v join -U Administrator
> - install krb5-user package
> - restart sssd (systemctl restart sssd)
> - make the necessary entries in pam_mount.conf.xml
> 

I am sorry, but Samba does not produce sssd or realmd, so I do not
think this mailing list can really help, perhaps you should try the
sssd-users mailing list.

Rowland



More information about the samba mailing list