Skip to content

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

Merged
rullzer merged 2 commits into
stable15from
backport/stable15/16011
Jun 27, 2019
Merged

[stable15] (LDAP) API: return one base properly when multiple are configured#16110
rullzer merged 2 commits into
stable15from
backport/stable15/16011

Conversation

@blizzz

Copy link
Copy Markdown
Member

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>

@ChristophWurstChristophWurst left a comment

Copy link
Copy Markdown
Member

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 stable15Jun 27, 2019
@delete-merged-branch
delete-merged-branchBot deleted the backport/stable15/16011 branch June 27, 2019 14:10
@rullzerrullzer mentioned this pull request Jun 28, 2019
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugfeature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@blizzz@ChristophWurst@skjnldsv@rullzer