ldapcherry icon indicating copy to clipboard operation
ldapcherry copied to clipboard

Bracket in DN

Open Ekouyoja opened this issue 4 years ago • 0 comments

Hello,

First, thanks for your work. I have some problem with the ldap.group_filter_tmpl parameter. When i pass something with bracket, for exemple ldap.group_filter_tmpl = "(uniqueMember=cn=Toto Toto (toto),o=Toto,dc=tata,dc=local)" cn=Toto Toto (toto),o=Toto,dc=tata,dc=local is the DN of all my users I get an error : ldap.FILTER_ERROR: {'result': -7, 'desc': 'Bad search filter', 'ctrls': []} I see that you have a filter.py but i don't know if it's used for this filter. Thanks to read me

Ekouyoja avatar Jul 23 '20 13:07 Ekouyoja