summaryrefslogtreecommitdiff
path: root/doc/ldap-example.conf
blob: f1e0c910b6b593c0c6c0b03548d9c3cce47c7b35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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