Displaying 1 result from an estimated 1 matches for "id2606200".
2005 Apr 07
3
Unix to SMB Password Sync using PAM
...re PAM to sync Unix passwords to Samba passwords.
When I add a new Unix user or change an existing Unix user's password,
I want the same password to be stored in /etc/smbpasswd.
I'm trying to follow these instructions:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/pam.html#id2606200
It sounds like this is what I want to do:
"A sample PAM configuration that shows the use of pam_smbpass to make
sure private/smbpasswd is kept in sync when /etc/passwd (/etc/shadow) is
changed."
I created the file /etc/pam.d/passwd-sync and pasted the following:
#%PAM-1.0
# passwor...