Skip to content

fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list - #52257

Merged
come-nc merged 1 commit into
masterfrom
fix/noid/ensure-userid-attr-present
Apr 22, 2025
Merged

fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list#52257
come-nc merged 1 commit into
masterfrom
fix/noid/ensure-userid-attr-present

Conversation

@blizzz

Copy link
Copy Markdown
Member

Summary

fixes corner cases in which an LDAP record might be loaded and used, where the user is still not mapped - and then this information is missing though expected.

This was never an issue, until preferences started to throw InvalidArgumentException in UserConfig::assertParams although it's not documented.

fixes corner cases in which an LDAP record might be loaded and used,
where the user is still not mapped - and then this information is
missing though expected.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzzblizzz added this to the Nextcloud 32 milestone Apr 17, 2025
@blizzz
blizzz requested review from a team, ArtificialOwl, come-nc, nickvergessen and provokateurin and removed request for a teamApril 17, 2025 15:03
@blizzz

Copy link
Copy Markdown
MemberAuthor

/backport to stable31

@come-nc

Copy link
Copy Markdown
Contributor

From what I remember of the analysis this does not fix all code paths, but should help with most.

@come-nc
come-nc merged commit 98e3afc into masterApr 22, 2025
@come-nc
come-nc deleted the fix/noid/ensure-userid-attr-present branch April 22, 2025 07:24
@skjnldsvskjnldsv mentioned this pull request Aug 19, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbugregression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@blizzz@come-nc@provokateurin@skjnldsv