Bug 58822 - udm users/user modify can fail with Type or value exists: memberUid: value #0 provided more than once
Summary: udm users/user modify can fail with Type or value exists: memberUid: value #0...
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - Users
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-10-errata
Assignee: Arvid Requate
QA Contact: Felix Botner
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-19 10:28 CET by Arvid Requate
Modified: 2025-11-19 14:51 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:
requate: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2025-11-19 10:28:24 CET
udm users/user modify can fail with

> LDAP Error: Type or value exists: memberUid: value #0 provided more than once.

in case uniqueMember contains two DNs (e.g. in different OUs) with the same uid (e.g. because an AD-Connector triggered OU move didn't remove the old the DNs properly).
Comment 1 Arvid Requate univentionstaff 2025-11-19 11:05:35 CET
56f65ded39d | fix(udm): dont append memberUid multiple times

Package: univention-directory-manager-modules
Version: 15.0.29-5
Release: ucs_5.0-0-errata5.0-10
Scope: errata5.0-10
Comment 2 Felix Botner univentionstaff 2025-11-19 11:18:20 CET
OK - advisory
OK - univention-directory-manager-modules
OK - manual tests
Comment 3 Florian Best univentionstaff 2025-11-19 13:02:44 CET
Just FYI: Bug #52949 contains a patch which fixes this in a generic manner.
Comment 4 Christian Castens univentionstaff 2025-11-19 14:51:37 CET
<https://errata.software-univention.de/#/?erratum=5.0x1349>