Bug 56528 - make migration of users/user property "country" mapping to LDAP attribute "st" (state) required for the UCS 5.1 upgrade
make migration of users/user property "country" mapping to LDAP attribute "st...
Status: VERIFIED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.1
Assigned To: Maximilian Janßen
Florian Best
:
Depends on: 50073
Blocks: 50033
  Show dependency treegraph
 
Reported: 2023-09-05 07:30 CEST by Florian Best
Modified: 2024-03-08 10:59 CET (History)
8 users (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):
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 2023-09-05 07:30:04 CEST
With UCS 5.2 before the upgrade to UCS 5.1 is possible we should require that domains migrated to the correct LDAP representation of st (state) and c (country).

- [ ] We can simply check for the UCR variable in the preup.sh.
- [ ] We should remove the UCR variable from the code and have only one mapping

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

Split off from Bug 50033 Comment 5:

We also postponed the synchronizarion of UDM property "country", because there is a quirk in the definition of this UDM property: It ist mapped to LDAP attribute "st" instead of "c". To get out of this we would also need to create a UDM property to sync "c". And we probably should change the UDM poperty names to match the LDAP attributes. After that, we may add them to the S4-Connector mapping (st<->st and c<->c, instead of "st<->c").
Comment 2 Florian Best univentionstaff 2023-10-23 17:54:47 CEST
OK: preup.sh checks require the migration
OK: script and diagnostic module have been removed
OK: changelog entry
OK: Jenkins .cfg files are doing the migration
Comment 3 Florian Best univentionstaff 2024-03-08 10:59:36 CET
univention-updater (16.0.8)
0103c414d0c4 | ci(jenkins): check for LDAP country migration in pre upgrade

univention-management-console-module-diagnostic (7.0.5)
f2e6cffb68d4 | feat(udm): remove configurability of country/state property

univention-directory-manager-modules (16.0.7)
f2e6cffb68d4 | feat(udm): remove configurability of country/state property

ucs-test (11.0.8)
f2e6cffb68d4 | feat(udm): remove configurability of country/state property

NONE
9df973ab6530 | ci(jenkins): add prepare_domain_for_ucs50_preup_checks to all upgrade Jenkins jobs