pam: Add complete configuration.
[matthijs/servers/tika.git] / etc / pam.d / common-auth
diff --git a/etc/pam.d/common-auth b/etc/pam.d/common-auth
new file mode 100644 (file)
index 0000000..d034284
--- /dev/null
@@ -0,0 +1,11 @@
+#
+# /etc/pam.d/common-auth - authentication settings common to all services
+#
+# This file is included from other service-specific PAM config files.
+
+# Allow both local and ldap logins.
+auth           sufficient      pam_unix.so nullok_secure
+
+auth           sufficient      pam_ldap.so use_first_pass
+
+auth           required        pam_deny.so