Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bracket in DN #65

Open
Ekouyoja opened this issue Jul 23, 2020 · 0 comments
Open

Bracket in DN #65

Ekouyoja opened this issue Jul 23, 2020 · 0 comments

Comments

@Ekouyoja
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant