~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source3/pam_smbpass/samples/password-sync

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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