Skip to content

fix(UserBackend): do not provision accounts that exist in another backend - #260

Merged
hamza221 merged 1 commit into
masterfrom
fix/duplicate-users
Oct 29, 2026
Merged

hamza221 merged 1 commit into
masterfrom
fix/duplicate-users

Conversation

@hamza221

@hamza221 hamza221 commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Fix #customer issue

running occ user:listresulted in so many duplicate users
checking SELECT u.uid, g.uid FROM oc_users u JOIN oc_global_scale_users g ON LOWER(g.uid) = u.uid_lower;
Showed multiple thousands of users
and alternative would be nextcloud/server#65984 but it's only fixing the symptom. Would this have undesired side effects ?

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Comment thread lib/UserBackend.php Resolved
…kend

Assisted-by: ClaudeCode:claude-fable-5-1

Signed-off-by: hamza <hamzamahjoubi221@gmail.com>
@hamza221
hamza221 force-pushed the fix/duplicate-users branch from ec1d247 to 6259a61 Compare October 29, 2026 14:18
@hamza221
hamza221 merged commit f7532b9 into master Oct 29, 2026
33 checks passed
@hamza221
hamza221 deleted the fix/duplicate-users branch October 29, 2026 15:15
@cristianscheid

Copy link
Copy Markdown
Member

@ArtificialOwl for this to be available on NC 33, is this PR enough or should we also backport it?

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.

3 participants