mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 20:37:48 +02:00
adding filter for ad backend
This commit is contained in:
parent
23b3dbfbe3
commit
0914e141ec
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue