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

Escape LDAP query special chars #288

Closed
adorton-adobe opened this issue Oct 25, 2017 · 0 comments
Closed

Escape LDAP query special chars #288

adorton-adobe opened this issue Oct 25, 2017 · 0 comments
Milestone

Comments

@adorton-adobe
Copy link
Collaborator

Directory system OUs or group names may contain characters that are considered special characters in LDAP queries.

Special query characters are specified here:

http://www.rfc-editor.org/rfc/rfc4515.txt

I'm working with a customer that uses an asterisk (*) in the name of the OU that contains its user groups. The sync tool fails to query users belonging to groups that belong to that OU. The problem occurs when the sync tool gets the base DN of the group, and inserts it into the query that retrieves group members. The DN contains the OU. Escaping special characters in any string that gets inserted into an LDAP query will resolve the issue.

@adobeDan adobeDan added this to the 2.2.2 milestone Oct 26, 2017
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

2 participants