pam: Use LDAP for authentication.
[matthijs/servers/drsnuggles.git] / etc / pam_ldap.conf
diff --git a/etc/pam_ldap.conf b/etc/pam_ldap.conf
new file mode 100644 (file)
index 0000000..45d8679
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# See /usr/share/libpam-ldap/ldap.conf for example configuration and more
+# options.
+#
+
+# The distinguished name of the search base.
+base dc=drsnuggles,dc=stderr,dc=nl
+
+# The LDAP server. ldaps:// is secure, ldapi:// is local socket
+uri ldap://ldap.drsnuggles.stderr.nl
+
+# The LDAP version to use
+ldap_version 3
+
+# Use the OpenLDAP exop extended operation to change the password. This allows
+# the server to decide on hashing algorithm, etc.
+pam_password exop