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

Switch LDAP test to use entryUUID as unique id for groups #2345

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

rhafer
Copy link
Contributor

@rhafer rhafer commented Dec 9, 2021

The entryUUID attribute is generated by the LDAP server. By using this
me can make sure that a group gets a different IDs with every
test. So that we can avoid setting DELETE_USER_DATA_CMD to delete
the USER data after each test in the long run.

Also fix the user- and group-providers to use the correct attribute
mapping when searching for groups by id (was using CN in some places)

@update-docs
Copy link

update-docs bot commented Dec 9, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@rhafer rhafer requested review from butonic and kobergj and removed request for butonic December 9, 2021 10:38
The entryUUID attribute is generated by the LDAP server. By using this
me can make sure that a group gets a different IDs with every
test. So that we can avoid setting DELETE_USER_DATA_CMD to delete
the USER data after each test in the long run.

Also fix the user- and group-providers to use the correct attribute
mapping when searching for groups by id (was using CN in some places)
Copy link
Contributor

@kobergj kobergj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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.

2 participants