diff options
Diffstat (limited to 'doc/ldap-example.conf')
-rw-r--r-- | doc/ldap-example.conf | 23 |
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 |