summaryrefslogtreecommitdiff
path: root/doc/ldap-example.conf
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2006-05-10 21:58:42 +0000
committerStef Walter <stef@memberwebs.com>2006-05-10 21:58:42 +0000
commit977b4db32cde91d043562e9bafedbc563b6ae464 (patch)
tree6b20230f026cd391cfe9cf8b6e53b944b81e51ba /doc/ldap-example.conf
parent0311bd877289e6a5074b6a54b58ee72e9f5fdbac (diff)
Add example configuration files
Diffstat (limited to 'doc/ldap-example.conf')
-rw-r--r--doc/ldap-example.conf23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/ldap-example.conf b/doc/ldap-example.conf
new file mode 100644
index 0000000..f1e0c91
--- /dev/null
+++ b/doc/ldap-example.conf
@@ -0,0 +1,23 @@
+# An LDAP example
+
+# Create a new handler called 'MyHandler'
+[LDAP:MyHandler]
+
+# The realm displayed to the user
+Realm: LDAP Example
+
+# Only digest authentication allowed
+AuthTypes: Digest
+
+# Connect to LDAP server with the following info
+LDAPServers: ldap.example.com
+LDAPUser: cn=root,dc=example,dc=com
+LDAPPassword: ldap@example@password
+
+# This will authenticate against the password available
+# in the 'clearPassword' LDAP attribute
+LDAPDoBind: False
+LDAPDNMap: cn=%u,dc=example,dc=com
+LDAPPWAttr: clearPassword
+LDAPFilter: (cn=%u)
+LDAPBase: dc=example,dc=com