#account required pam_unix.so
#
# LDAP config based on from http://wiki.debian.org/LDAP/PAM
-account sufficient pam_ldap.so
-account required pam_unix.so
+account required pam_ldap.so
# auth required pam_unix.so nullok_secure
#
# LDAP config based on from http://wiki.debian.org/LDAP/PAM
-auth sufficient pam_unix.so nullok_secure
-auth sufficient pam_ldap.so use_first_pass
-auth required pam_deny.so
+auth required pam_ldap.so
# LDAP config based on from http://wiki.debian.org/LDAP/PAM
session required pam_limits.so
session required pam_unix.so
-session optional pam_ldap.so
+session required pam_ldap.so
session required pam_mkhomedir.so skel=/etc/skel umask=0022