adding filter for ad backend

This commit is contained in:
kakwa 2015-07-26 10:37:20 +02:00
parent 23b3dbfbe3
commit 0914e141ec
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class Backend(ldapcherry.backend.backendLdap.Backend):
self.search_filter_tmpl = '(&(|(sAMAccountName=%(searchstring)s)' \
'(cn=%(searchstring)s*)' \
'(name=%(searchstring)s*)' \
'(sn=%(searchstring)s*)' \
'(givenName=%(searchstring)s*)' \
'(cn=%(searchstring)s*))' \
'(&(objectClass=person)' \