Bug 51622 - Listener module for UDM extensions removes incompatible LDAP objects
Listener module for UDM extensions removes incompatible LDAP objects
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Arvid Requate
Jürn Brodersen
https://git.knut.univention.de/univen...
:
Depends on:
Blocks: 51763
  Show dependency treegraph
 
Reported: 2020-07-06 14:11 CEST by Sönke Schwardt-Krummrich
Modified: 2021-05-25 16:03 CEST (History)
3 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 Sönke Schwardt-Krummrich univentionstaff 2020-07-06 14:11:11 CEST
The listener module for UDM extensions must carefully check the attributes ucsversionstart and ucsversionend of registered LDAP objects on the Primary Directory Node/Domain Controller Master.  For objects that do not fulfill the following conditions, the active flag is not set TRUE. Instead, the LDAP object is deleted from LDAP directly by the listener:
- ucsversionstart > 5.0 → no check of ucsversionend
- ucsversionend=4.99 → no check of ucsversionstart
- ucsversionstart < 5.0 and ucsversionend != ""
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2020-07-06 14:11:38 CEST
This prevents the registration of incompatible UDM extensions by e.g. UCS4 apps that have not (yet) been prepared for UCS5.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2020-07-07 13:35:20 CEST
The manual has to be adapted accordingly.
Comment 3 Arvid Requate univentionstaff 2020-07-27 21:47:22 CEST
43a72a9d8c | Minor refactoring
897874a78c | Remove objects that don't signal Python3 support
8f593759fd | Test cases
8c587aeaa1 | Tests for Py2/3 UDM extension module handling
ef6182ab1a | Changelog
5f4346aedf | fixup
c1b1fb67b9 | Default --ucsversionstart 5.0-0 for univention-* packages
765268d011 | Tests

And there is this commit for univention-s4-connector by Florian to make the modules survive the UCS 5.0 installation:

3ac4dcf940 | set ucsversionend

Adjustment of manual after initial QA, please reopen.
Comment 4 Arvid Requate univentionstaff 2020-08-04 20:01:55 CEST
1187edac61 | Revert --ucsversionstart 5.0-0 default for univention-* packages
Comment 5 Jürn Brodersen univentionstaff 2020-08-10 09:57:13 CEST
Code and tests are looking good -> OK
Changelog -> Added -> OK

-> Verified
Comment 6 Florian Best univentionstaff 2021-05-25 16:03:23 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".