#%PAM-1.0

# Uncomment this to achieve what used to be ftpd -A.
# auth       required     pam_listfile.so item=user sense=allow file=/etc/ftpchroot onerr=fail

auth     required       pam_listfile.so item=user sense=deny file=/etc//ftpusers onerr=succeed
# Uncomment the following line for anonymous ftp.
#auth   sufficient     pam_ftp.so
auth     required       pam_shells.so
auth     sufficient     pam_ldap.so
auth     required       pam_unix2.so nullok use_first_pass
account  sufficient     pam_ldap.so
account  required       pam_unix2.so
password required       pam_unix2.so
session  required       pam_unix2.so
