Skip to content

[stable33] fix(LDAP): use displayname from DB, before reaching out to LDAP#59035

Merged
blizzz merged 3 commits intostable33from
backport/59025/stable33
Mar 18, 2026
Merged

[stable33] fix(LDAP): use displayname from DB, before reaching out to LDAP#59035
blizzz merged 3 commits intostable33from
backport/59025/stable33

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 18, 2026

Backport of #59025

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

blizzz added 2 commits March 18, 2026 12:52
As we do it with other information of the user, we now use the known value
of a users displayname, and leave the updating to the background job. This
improves performance of user facing actions where the display name is
required and reduces queries to the LDAP server that are typically more
expensive.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz blizzz force-pushed the backport/59025/stable33 branch from d40234e to ce64286 Compare March 18, 2026 14:05
@blizzz blizzz marked this pull request as ready for review March 18, 2026 14:05
@blizzz blizzz requested a review from a team as a code owner March 18, 2026 14:05
@blizzz blizzz requested review from ArtificialOwl, CarlSchwan and icewind1991 and removed request for a team March 18, 2026 14:05
@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 18, 2026
@skjnldsv skjnldsv mentioned this pull request Mar 18, 2026
15 tasks
@blizzz blizzz merged commit 027131d into stable33 Mar 18, 2026
190 of 197 checks passed
@blizzz blizzz deleted the backport/59025/stable33 branch March 18, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: ldap performance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants