~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

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

  • 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-migration
 
3
#
 
4
# A sample PAM configuration that shows the use of pam_smbpass to migrate
 
5
# from plaintext to encrypted passwords for Samba.  Unlike other methods,
 
6
# this can be used for users who have never connected to Samba shares:
 
7
# password migration takes place when users ftp in, login using ssh, pop
 
8
# their mail, etc.
 
9
 
 
10
auth       requisite        pam_nologin.so
 
11
# pam_smbpass is called IFF pam_unix succeeds.
 
12
auth       requisite        pam_unix.so
 
13
auth       optional         pam_smbpass.so migrate
 
14
account    required         pam_unix.so
 
15
password   requisite        pam_cracklib.so retry=3
 
16
password   requisite        pam_unix.so shadow md5 use_authtok try_first_pass
 
17
password   optional         pam_smbpass.so nullok use_authtok try_first_pass
 
18
session    required         pam_unix.so