#%PAM-1.0

auth       required     pam_nologin.so
auth       required     pam_env.so
auth       sufficient   pam_unix.so
auth       required     pam_ldap.so use_first_pass

account    sufficient   pam_unix.so
account    required     pam_ldap.so

session    required     pam_unix.so
# session    optional     pam_lastlog.so
# session    optional     pam_motd.so
# session    optional     pam_mail.so standard

password   required     pam_unix.so

# Alternate strength checking for password. Note that this
# requires the libpam-cracklib package to be installed.
# You will need to comment out the password line above and
# uncomment the next two in order to use this.
#
# password required       pam_cracklib.so retry=3 minlen=6 difok=3
# password required       pam_unix.so use_authtok nullok md5
