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

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

Merged
merged 2 commits into from
Jun 19, 2019

Conversation

backportbot-nextcloud[bot]
Copy link

backport of #16011

blizzz added 2 commits June 19, 2019 15:20
* 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>
@blizzz blizzz merged commit d3199cf into stable16 Jun 19, 2019
@blizzz blizzz deleted the backport/16011/stable16 branch June 19, 2019 22:24
@rullzer rullzer mentioned this pull request Jun 24, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants