libpam-smbpass installation
I am trying to setup libpam-smbpass to synchronize Linux and Samba
passwords on a server. The intent is to have a single password for
several services, but mainly Samba itself and mail. However, I am
not having any real success.
In smb.conf I uncommented the following:
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = blabla..
With that I can easily sync from smbpasswd to passwd.
The pam_smbpass library is installed. I moved the
examples/password-sync to /etc/pam.d/samba. I commented out the line
requiring pam_cracklib, which is not installed. I made sure I had
the same password for Linux login and for Samba.
But I can't sync from passwd to smbpasswd. And as long as the above
lines are in smb.conf, I can still do smbpasswd to passwd. Remove
them, and it's no good.
I must have missed something. Any clues would be greatly
appreciated.
Best regards,
Philippe Clérié (philippe@gcal.net)
Reply to: