diff options
author | John Terpstra <jht@samba.org> | 2001-04-24 20:00:12 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2001-04-24 20:00:12 +0000 |
commit | 2321514e9300ac85a1976318bae18a6b177f25c9 (patch) | |
tree | fe7bbb36aaba15deb9f13f3324c696cc06fd8a2d /source3/pam_smbpass/samples/password-mature | |
parent | 61da9a7e939df69e3feb7d4854b42f72c132a21f (diff) | |
download | samba-2321514e9300ac85a1976318bae18a6b177f25c9.tar.gz samba-2321514e9300ac85a1976318bae18a6b177f25c9.tar.bz2 samba-2321514e9300ac85a1976318bae18a6b177f25c9.zip |
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 1de7022f98b64b15503aaf48c8d729789fc49781)
Diffstat (limited to 'source3/pam_smbpass/samples/password-mature')
-rw-r--r-- | source3/pam_smbpass/samples/password-mature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/pam_smbpass/samples/password-mature b/source3/pam_smbpass/samples/password-mature new file mode 100644 index 0000000000..6d73e0906f --- /dev/null +++ b/source3/pam_smbpass/samples/password-mature @@ -0,0 +1,14 @@ +#%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 |