Bug 58739 - Renaming a parent ou causes duplicates if children are renamed
Summary: Renaming a parent ou causes duplicates if children are renamed
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: AD Connector
Version: UCS 5.1
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-10-errata
Assignee: Arvid Requate
QA Contact: Felix Botner
URL:
Keywords:
Depends on:
Blocks: 58780 58793
  Show dependency treegraph
 
Reported: 2025-10-24 14:56 CEST by Jürn Brodersen
Modified: 2025-11-11 12:47 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.160
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2025-10-24 14:56:22 CEST
Renaming a parent ou causes duplicates if children are renamed

How to reproduce (all renames are in AD, with read only connector):

Add ou1
Add ou1,ou1.1
Add ou1,ou1.1,ou1.1.1
Rename ou1,ou1.1->ou1,ou1.2
Rename ou1,ou1.2,ou1.1.1->ou1,ou1.2,ou1.2.1
Check ucs ldap -> You should now have ou1,ou1.2,ou1.1.1 and ou1,ou1.2,ou1.2.1
If you rename a user in ou1,ou1.2,ou1.2.1 (which was created in ou1,ou1.1,ou1.1.1) it will be "duplicated" into ou1,ou1.2,ou1.2.1 (the user was never moved in UCS and is exists in ou1,ou1.2,ou1.1.1)
Comment 1 Arvid Requate univentionstaff 2025-11-04 16:55:28 CET
git log 72f98db6ac6..4a08e8e544f

Package: univention-ad-connector
Version: 14.0.26
Release: 5.0-0
Scope: errata5.0-10

Package: ucs-test
Version: 10.0.24-29
Release: 5.0-0
Scope: errata5.0-10
Comment 2 Felix Botner univentionstaff 2025-11-05 10:08:11 CET
Looks good to me

Jenkins: OK
Manual test: OK
yaml: OK
Comment 3 Dirk Wiesenthal univentionstaff 2025-11-05 13:46:03 CET
<https://errata.software-univention.de/#/?erratum=5.0x1341>