LDAP: custom filters supported

This commit is contained in:
Oliver Kopp
2012-03-10 10:05:23 +01:00
parent 7bfc17a51d
commit 0c2bbb8ae1
3 changed files with 14 additions and 1 deletions

5
config
View File

@ -56,6 +56,11 @@ ldap_url = ldap://localhost:389/
ldap_base = ou=users,dc=example,dc=com
# LDAP login attribute
ldap_attribute = uid
# LDAP filter string
# placed as X in a query of the form (&(...)X)
# example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
# leave empty if no additional filter is needed
ldap_filter =
# LDAP dn for initial login, used if LDAP server does not allow anonymous searches
# Leave empty if searches are anonymous
ldap_binddn =