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

Fix user_dn_hash reconciliation when user DN contains special chars #16806

Merged

Conversation

cedric-anne
Copy link
Member

Q A
Bug fix? yes/no
New feature? yes/no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #16725

When it has been introduced in #16096 user_dn_hash was computed based on user_dn values stored in DB, and these values are sanitized. The problem is that it is compared with a non-sanitized values, at least in the LDAP synchronization command.

For instance,
md5('user=me,dc=R&D,dc=glpi-project,dc=org')
does not match
md5('user=me,dc=R&D,dc=glpi-project,dc=org')

@cedric-anne cedric-anne force-pushed the 10.0/fix-user_dn_hash branch from 832ec71 to a60fd3b Compare March 19, 2024 12:38
@cedric-anne cedric-anne merged commit 93a9f69 into glpi-project:10.0/bugfixes Mar 19, 2024
13 checks passed
@cedric-anne cedric-anne deleted the 10.0/fix-user_dn_hash branch March 19, 2024 13:10
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.

3 participants