[Samba] Re: Samba 3 password changes

Gerald Drouillard GerryList at Drouillard.ca
Fri May 21 03:18:40 GMT 2004

Paul Taylor wrote:
 > Thanks for the help, but in our case the password does not change.
Maybe your PAM setting are a little different?

auth       required	pam_nologin.so
auth       required	pam_stack.so service=system-auth
account    required	pam_stack.so service=system-auth
session    required	pam_stack.so service=system-auth
#the following 2 lines get samba to bybass pam_cracklib -- especially 
the dictionary checks
password   required     pam_pwdb.so shadow md5
password   optional    pam_smbpass.so nullok use_authtok try_first_pass
#password   required 	pam_smbpass.so nodelay smbconf=/etc/samba/smb.conf 


auth        required      pam_env.so
auth        sufficient    pam_unix.so likeauth nullok
#auth	sufficient	pam_ldap.so use_first_pass
auth        required      pam_deny.so

account     required      pam_unix.so
#account	sufficent	pam_ldap.so

#password    required      pam_cracklib.so retry=3 minlen=4  dcredit=0 
#password    sufficient    pam_unix.so nullok use_authtok md5 shadow

password   requisite   pam_cracklib.so retry=3 minlen=4
password   requisite   pam_unix.so shadow md5 use_authtok try_first_pass
password   optional    pam_smbpass.so nullok use_authtok try_first_pass
#password	sufficient	pam_ldap.so use_authtok

#password    required      pam_deny.so

session     required      pam_limits.so
session     required      pam_unix.so
#session	optional	pam_ldap.so

More information about the samba mailing list