mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +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)' \
|
self.search_filter_tmpl = '(&(|(sAMAccountName=%(searchstring)s)' \
|
||||||
'(cn=%(searchstring)s*)' \
|
'(cn=%(searchstring)s*)' \
|
||||||
'(name=%(searchstring)s*)' \
|
'(name=%(searchstring)s*)' \
|
||||||
|
'(sn=%(searchstring)s*)' \
|
||||||
'(givenName=%(searchstring)s*)' \
|
'(givenName=%(searchstring)s*)' \
|
||||||
'(cn=%(searchstring)s*))' \
|
'(cn=%(searchstring)s*))' \
|
||||||
'(&(objectClass=person)' \
|
'(&(objectClass=person)' \
|
||||||
|
Loading…
Reference in New Issue
Block a user