4 # A sample PAM configuration for a 'mature' smbpasswd installation.
5 # private/smbpasswd is fully populated, and we consider it an error if
6 # the smbpasswd doesn't exist or doesn't match the Unix password.
8 auth requisite pam_nologin.so
9 auth required pam_unix.so
10 account required pam_unix.so
11 password requisite pam_cracklib.so retry=3
12 password requisite pam_unix.so shadow md5 use_authtok try_first_pass
13 password required pam_smbpass.so use_authtok use_first_pass
14 session required pam_unix.so