mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
adding filter for ad backend
This commit is contained in:
parent
23b3dbfbe3
commit
0914e141ec
@ -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)' \
|
||||
|
Loading…
Reference in New Issue
Block a user