Comment # 29 on bug 1209741 from
(In reply to Franck Bui from comment #27)
> (In reply to Joe S from comment #24)
> > Here is the new /etc/pam.d/sddm file
> > 
> > #%PAM-1.0
> > auth     requisite      pam_nologin.so
> > auth     include        common-auth
> > 
> > #
> > # The next line is added so that the users login credentials can be cached
> > # to allow accessing cifs multiuser mount points without having to call
> > # cifscreds -u add joe FILESERVER after every GUI login
> > #
> > auth optional pam_cifscreds.so debug  
> 
> Does it still work as expected if you log in via tty2 for example ?

Yes, "cifscreds add -u joe FILESERVER" works fine from tty.

I am using the default /usr/lib/pam.d/login file so since it does NOT contain
the calls form pam_cifscreds you MUST run cifscreds there to add the
credentials.

If I copy /usr/lib/pam.d/login to /etc/pam.d/login and then add the
corresponding lines for pam_cifscreds and reboot, then tty can access the
multiuser mounted shares without having to call "cifscreds add -u joe
FILESERVER".

I don't normally use tty unless I am having a system problem or debugging
something so I never bothered before trying to add them there.


You are receiving this mail because: