s3: Update waf build to include missed dependancy on Lion.
[Samba/gebeck_regimport.git] / source3 / pam_smbpass / samples / password-migration
blob305cb53858eeee142a8d4716216f85a8905e3b0a
1 #%PAM-1.0
2 # password-migration
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.
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