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 commas #38

Closed
wants to merge 2 commits into from
Closed

Escape commas #38

wants to merge 2 commits into from

Conversation

brgerig
Copy link

@brgerig brgerig commented Nov 13, 2014

Refresh of external group is now functional. I'll continue to work on the initial user log-in and update the pull request.

Group membership was not being properly parsed when the member DNs had escaped commas in them.
eg. CN=Lastname\, Firstname,OU=container,DC=mydomain,DC=com
This is not uncommon in Active Directory LDAP systems
Instead of splitting on the first comma, the index of the first non-escaped comma is now found,
then used to divide the DN.
Next, all escaped commas are unescaped.
@domcleal
Copy link
Contributor

domcleal commented Oct 8, 2015

Thanks for the PR @brgerig, but I've now merged #46 which should hopefully fix the issue. Please file a new bug or PR if it doesn't work for you. Cheers.

@domcleal domcleal closed this Oct 8, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants