kakwa / ldapcherry

Web UI for managing users and groups in multiple directory services.
MIT License
225 stars 70 forks source link

Bracket in DN #65

Open Ekouyoja opened 4 years ago

Ekouyoja commented 4 years ago

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