Skip to content

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

Merged
AndyScherzinger merged 1 commit into
stable34from
backport/66181/stable34
Nov 3, 2026
Merged

AndyScherzinger merged 1 commit into
stable34from
backport/66181/stable34

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 Altahrim, hweihwang and marcoambrosini and removed request for a team November 3, 2026 14:44
@backportbot backportbot Bot added this to the Nextcloud 34.0.6 milestone Nov 3, 2026
@AndyScherzinger
AndyScherzinger merged commit 7104589 into stable34 Nov 3, 2026
133 of 142 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/66181/stable34 branch November 3, 2026 21:57
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.

4 participants