Skip to content

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

Merged
AndyScherzinger merged 1 commit into
stable35from
backport/66181/stable35
Nov 3, 2026
Merged

AndyScherzinger merged 1 commit into
stable35from
backport/66181/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 3, 2026

Copy link
Copy Markdown

Backport of PR #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>
@backportbot
backportbot Bot requested a review from a team as a code owner November 3, 2026 14:44
@backportbot
backportbot Bot requested review from cristianscheid, hweihwang and pringelmann and removed request for a team November 3, 2026 14:44
@backportbot backportbot Bot added this to the Nextcloud 35.0.3 milestone Nov 3, 2026
@AndyScherzinger
AndyScherzinger merged commit c50fa01 into stable35 Nov 3, 2026
153 of 161 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/66181/stable35 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