Skip to content

fix #959: normalize switch statement case#1155

Open
karlbeecken wants to merge 1 commit intonextcloud:mainfrom
karlbeecken:patch-1
Open

fix #959: normalize switch statement case#1155
karlbeecken wants to merge 1 commit intonextcloud:mainfrom
karlbeecken:patch-1

Conversation

@karlbeecken
Copy link

This is essentially the fix proposed in #959 (comment).

The two switch statements in LDAPGroupManager.php are changed to use strtolower so that the matching will be case-insensitive to fix the issue arising in combination with Nextcloud>=31, that leads to admins not being able to add/remove LDAP groups to users.

I tested this on my instance with Nextcloud Hub 32.0.3, it works perfect.

Signed-off-by: Karl Beecken <karl@beecken.berlin>
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.

1 participant