Skip to content

[stable33] fix(user_ldap): do not cache unknown names in the local mapping cache - #66207

Merged
AndyScherzinger merged 1 commit into
stable33from
backport/66181/stable33
Nov 3, 2026
Merged

AndyScherzinger merged 1 commit into
stable33from
backport/66181/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Backport of #66181

A web request that looked up a user or group before it was mapped stored
the miss in the local cache for 30 days. Mapping it later from the CLI
(occ ldap:search, the Sync job) does not touch that cache, so web
requests kept treating it as unknown. Only found DNs are cached now, and
a cached miss is ignored.

Fixes #66003

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
@come-nc
come-nc force-pushed the backport/66181/stable33 branch from f7a347a to 9968772 Compare November 3, 2026 14:51
@come-nc
come-nc marked this pull request as ready for review November 3, 2026 14:51
@come-nc
come-nc requested a review from a team as a code owner November 3, 2026 14:51
@come-nc
come-nc requested review from CarlSchwan and artonge and removed request for a team November 3, 2026 14:52
@AndyScherzinger
AndyScherzinger merged commit fee7075 into stable33 Nov 3, 2026
161 of 174 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/66181/stable33 branch November 3, 2026 21:57
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for more than 7 days. As we do not monitor merged or closed pull requests, we are locking this pull request to prevent further comments from getting lost in the noise.
If you discovered any issues with this pull request, please open a new issue instead. In case you want to discuss this pull request or have further questions, please use our forum: https://help.nextcloud.com

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants