9/07/2008

Sync the Linux system password and the Samba password

How to sync the Linux system password and the Samba password?

Hopefully, Samba is configured with PAM. If so, follow the instructions below.

Make sure this is set in your smb.conf.
=======
unix password sync = true
pam password sync = true
=======

Navigate to /etc/pam.d/system-auth and add this after the "pam_cracklib.so" line.

=======
password required /lib/security/pam_smbpass.so nullok use_authtok try_first_pass
=======

0 comments: