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

DN normalization doesn't correctly re-escape attribute values #70

Closed
rhafer opened this issue Jul 13, 2022 · 0 comments · Fixed by #71
Closed

DN normalization doesn't correctly re-escape attribute values #70

rhafer opened this issue Jul 13, 2022 · 0 comments · Fixed by #71
Assignees

Comments

@rhafer
Copy link
Collaborator

rhafer commented Jul 13, 2022

For exampe the DN uid=A\+B,ou=test when fed into ldapdn.ParseNormalize is turned into uid=a+b,ou=test, which actually is a and invalid encoded DN as the + has a special meaning in DNs.

@rhafer rhafer self-assigned this Jul 13, 2022
rhafer added a commit to rhafer/idm that referenced this issue Jul 13, 2022
Apply the DN escaping rules on the normalized DN parts when
turning a DN into a normalized string form

Fixes: libregraph#70
rhafer added a commit that referenced this issue Jul 13, 2022
Apply the DN escaping rules on the normalized DN parts when
turning a DN into a normalized string form

Fixes: #70
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 a pull request may close this issue.

1 participant