Skip to content

Bracket in DN #65

@Ekouyoja

Description

@Ekouyoja

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions