1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/pam_smbpass/samples/password-mature
Andrew Tridgell ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00

15 lines
599 B
Plaintext

#%PAM-1.0
# password-mature
#
# A sample PAM configuration for a 'mature' smbpasswd installation.
# private/smbpasswd is fully populated, and we consider it an error if
# the smbpasswd doesn't exist or doesn't match the Unix password.
auth requisite pam_nologin.so
auth required pam_unix.so
account required pam_unix.so
password requisite pam_cracklib.so retry=3
password requisite pam_unix.so shadow md5 use_authtok try_first_pass
password required pam_smbpass.so use_authtok use_first_pass
session required pam_unix.so