LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Swat uses PAM but changes linux passwd not samba passwd (https://www.linuxquestions.org/questions/linux-networking-3/swat-uses-pam-but-changes-linux-passwd-not-samba-passwd-504934/)

Peter@KKVS 11-26-2006 04:20 AM

Swat uses PAM but changes linux passwd not samba passwd
 
Hi
Have standalone server with swat to change passwds.
relevant smb.conf lines.
passdb=tdbsam
Pam restrictions = yes
Use pam for passwd change = yes
encrypted passwords = yes
sync linux passwd = yes (along with a line on passwd chat etc)

Samba does not use PAM when "encrypted passwords = yes" but SWAT does. Problem is that swat changes the linux passwd and not the samba one. Clearly PAM does not know to look to tdbsam for the passwd backend. So users can log into their home directory on the smb passwd but if they change psswd wih swot then they have to use their new passwd for swat and old passwd to get into their fies

So how do you tell it.

On other distros there is a pam_smbpass.so to tell pam where to find the passwds but in the ubuntu distribution there is not.

Any clues


All times are GMT -5. The time now is 12:58 AM.