pam: Only use LDAP for auth and account, remove unix authentication.
[matthijs/servers/drsnuggles.git] / etc / pam.d / common-auth
index 63d129aac9f8a62881d6413fe1b90f43b5423af8..48ce0f169a87c70c37e7fef59cf91aa5120bbf87 100644 (file)
@@ -7,4 +7,9 @@
 # (e.g., /etc/shadow, LDAP, Kerberos, etc.).  The default is to use the
 # traditional Unix authentication mechanisms.
 #
-auth   required        pam_unix.so nullok_secure
+#
+# Default was:
+# auth required        pam_unix.so nullok_secure
+#
+# LDAP config based on from http://wiki.debian.org/LDAP/PAM
+auth    required        pam_ldap.so