Bug 58310 - Generate univentionObjectIdentifier values in the base.ldif UCR template
Summary: Generate univentionObjectIdentifier values in the base.ldif UCR template
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: LDAP
Version: UCS 5.2
Hardware: amd64 Linux
: P5 normal
Target Milestone: UCS 5.2-1-errata
Assignee: Johannes Lohmer
QA Contact: Florian Best
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-20 12:16 CEST by Johannes Lohmer
Modified: 2025-05-28 13:40 CEST (History)
0 users

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?: Yes
School Customer affected?:
ISV affected?: Yes
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 Johannes Lohmer univentionstaff 2025-05-20 12:16:15 CEST
We want the univentionObjectIdentifier set for all objects, including those created by the base.ldif on the first startup: Domain Admins, Domain Users, Domain Guests, etc.

The base.ldif is already a UCR template where python code is evaluated.
We should extend the base.ldif template to generate a random UUID4 for all compatible objects defined in the base.ldif.
Comment 1 Florian Best univentionstaff 2025-05-27 12:16:58 CEST
univention-ldap.yaml
de5268703318 | feat(univention-ldap): template random univentionObjectIdentifier values into the base.ldif

univention-ldap (18.1.0)
de5268703318 | feat(univention-ldap): template random univentionObjectIdentifier values into the base.ldif

ucs-test (12.1.15)
a0f15bff091c | test(ucs-test): Move import into fixture to avoid import errors in some school tests
021b5b796921 | test(udm): Add UDM CLI and UDM REST univentionObjectIdentifier tests
de1de77cc71f | test(udm): unify udm_rest_client fixtures into one session scoped fixture


OK: random UUID4 values are inserted into the basic LDIF file during installation
OK: interim failed tests are green again
OK: as far as I can see, Jenkins looks good. Some instances didn't run successfully for a long time.
OK: code review
OK: advisory
Comment 2 Christian Castens univentionstaff 2025-05-28 13:40:37 CEST
<https://errata.software-univention.de/#/?erratum=5.2x114>