Merge pull request #3 from koppor/master

Added support for custom filters at LDAP
This commit is contained in:
Guillaume Ayoub
2012-03-13 02:42:37 -07:00
3 changed files with 14 additions and 1 deletions

5
config
View File

@ -58,6 +58,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 =