1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/pam_smbpass/samples/password-mature
John Terpstra 2321514e93 Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
Note: Still have to add build stuff - not ready yet.
(This used to be commit 1de7022f98)
2001-04-24 20:00:12 +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