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

[stable15] (LDAP) API: return one base properly when multiple are configured #16110

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

blizzz
Copy link
Member

@blizzz blizzz commented Jun 27, 2019

backport of #16011

blizzz added 2 commits June 27, 2019 11:35
* reading the config directly will return the value with line breaks
* using the proper accessor gives us all bases in an array
* returns the first matching one
* having user id provided for the group base is strange and does not let
  us operate like this. here we return the first one. might change in
  future, a backportable fix won't have an API change however.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* the backend already expects and works with the string

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

🐘

@rullzer rullzer merged commit e4d88bd into stable15 Jun 27, 2019
@delete-merged-branch delete-merged-branch bot deleted the backport/stable15/16011 branch June 27, 2019 14:10
@rullzer rullzer mentioned this pull request Jun 28, 2019
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants