Bug 58912 - Shorten Recyclebin DNs
Summary: Shorten Recyclebin DNs
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
Version: UCS 5.2
Hardware: Other other
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on: 52202
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-19 12:18 CET by Florian Best
Modified: 2025-12-19 12:18 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2025-12-19 12:18:23 CET
The DNs for recyclebin objects get too large.
It originally contained the original DN, then we changed to include the DN and UUID, so that if the same DN gets moved to recyclebin there is not conflict.

The attribute names for the recyclebin are very large already:
 univentionRecycleBinOriginalDN
 univentionRecycleBinOriginalUniventionObjectIdentifier

This causes MDB errors:

ldap.OTHER: {'msgtype': 105, 'msgid': 3, 'result': 80, 'desc': 'Other (e.g., implementation specific) error', 'ctrls': []} 

slapd[28205]: => mdb_dn2id_add 0x3fb: "univentionRecycleBinOriginalDN=uid\3Dumc_test_user_xvju2bhb6t\2Ccn\3Dintermediate_test_container\2Ccn\3Dbase_test_container\2Cdc\3Dautotest092\2Cdc\3Daaaa+univentionRecycleBinOriginalUniventionObjectIdentifier=675f8041-87d9-4483-9c46-e558f9f58c7f,cn=recyclebin,cn=internal"
slapd[28205]: <= mdb_dn2id_add 0x3fb: -30781
slapd[28205]: mdb_add: dn2id_add failed: MDB_BAD_VALSIZE: Unsupported size of key/DB name/data, or wrong DUPFIXED size (-30781)

We will switch now to contain only univentionRecycleBinOriginalUniventionObjectIdentifier in the DN.

This is still very long.
It would be nice if the recylcebin wouldn't be a flat structure but also re-asseble the complete hierarchy.
Then "univentionRecycleBinOriginalUniventionObjectIdentifier" is still very long. We should switch to a shorter attribute name. e.g.:
univentionRecycleBinID

+++ This bug was initially created as a clone of Bug #52202 +++