Initial import
[samba] / source / pam_smbpass / samples / password-sync
1 #%PAM-1.0
2 # password-sync
3 #
4 # A sample PAM configuration that shows the use of pam_smbpass to make
5 # sure private/smbpasswd is kept in sync when /etc/passwd (/etc/shadow)
6 # is changed.  Useful when an expired password might be changed by an
7 # application (such as ssh).
8
9 auth       requisite        pam_nologin.so
10 auth       required         pam_unix.so
11 account    required         pam_unix.so
12 password   requisite        pam_cracklib.so retry=3
13 password   requisite        pam_unix.so shadow md5 use_authtok try_first_pass
14 password   required         pam_smbpass.so nullok use_authtok try_first_pass
15 session    required         pam_unix.so