Skip to content

fix: Make Vue's ldapGroupMemberAssocAttr label map LcValue-compatible - #63672

Open
j-frei wants to merge 2 commits into
nextcloud:masterfrom
j-frei:fix-ldap-groupMemberAssociation-bug
Open

fix: Make Vue's ldapGroupMemberAssocAttr label map LcValue-compatible#63672
j-frei wants to merge 2 commits into
nextcloud:masterfrom
j-frei:fix-ldap-groupMemberAssociation-bug

Conversation

@j-frei

@j-frei j-frei commented Aug 26, 2026

Copy link
Copy Markdown

Summary

The user_ldap plugin features the field ldapGroupMemberAssocAttr and its values are converted into lowercase when set. In the UI, the field loads the labels using the groupMemberAssociation constant, which used to be case-sensitive.
It failed for all entries other than 'member' because these fields had upper letters in it; resulting in the settings panel to display the GUI field as empty.
This is fixed here. (Tested on v33.0.2)

It could be partially related to #60342, but just viewing the field before this PR did not change the ldap settings in my tests.

Signed-off-by: Johann Frei <johann_frei@yahoo.de>
@j-frei
j-frei requested a review from a team as a code owner August 26, 2026 14:49
@j-frei
j-frei requested review from kristian-zendato, skjnldsv and sorbaugh and removed request for a team August 26, 2026 14:49

@joshtrichards joshtrichards 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.

Makes sense. As an aside, LDAP configuration frontend could really use test coverage! A future follow-up PR idea for someone.

@joshtrichards joshtrichards added this to the Nextcloud 36 milestone Aug 29, 2026
@joshtrichards

Copy link
Copy Markdown
Member

/backport to stable35

@joshtrichards

Copy link
Copy Markdown
Member

/backport to stable34

@joshtrichards

Copy link
Copy Markdown
Member

/backport to stable33

@joshtrichards

Copy link
Copy Markdown
Member

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