
Hi Thorsten,
Provide a rule with which the PAM module works in >> all scenarios.
Sorry but I don't know how to do that and also don't use LDAP or kerberos. I'm confused when you say pam_cifscreds is an unknown module as it is installed from the main TW repository? If there a better way to achieve what I'm trying to accomplish? The main server is running TW and Samba with shares created that are used by Linux and Windows clients. Linux clients mount the shares in /etc/fstab with the multiuser mount option and a credentials file for a user which has very limited permissions to the share. Then when a Linux client user accesses the mountpoint for the share they get their own session ( because of multiuser mount option ) allowing them access to the files which they have permission on. Windows clients map to the shares in the login script and because of Windows passthru authentication they map to the shares using their windows user/password which is the same as the user/password setup using smbpasswd on the Linux server. The ONLY reason I am using pam_cifscreds is because that was the only method I could find to have the Linux client use the cached credentials ( like Windows is doing ) to access the shares without the users having to enter a user/password each time. If there is a better way to accomplish this please let me know. THANKS!