We should change the ucs_registerLDAPExtension startversion to the minimum compatible version, which is UCS 5.0 based. This allows us to drop Python 2 compatibility. +++ This bug was initially created as a clone of Bug #56098 +++ In join scripts, we register extensions with ucs_registerLDAPExtension --endversion $X That $X has been set to 5.99 in some cases because we thought we can be forward compatible. But we cannot. Python 3.11 (upcoming UCS 5.2) has slight incompatibilities with Python 3.7. So we should not make promises until UCS 5.99, but only until 5.0-99. In UCS 5.2, though, we will have to write all our extensions backwards compatible and use --startversion 5.0-0 - but that is out of scope for this issue at hand. https://git.knut.univention.de/univention/ucs/-/issues/1510
Adjusted the version of the --ucsversionstart flag for all calls of ucs_registerLDAPExtension to 5.0-6
OK: All extensions are UCS wide registered for UCS 5.0-6 on new installations. See also Bug #56529, which requires all systems in the domain to have at least UCS 5.0-6. OK: Changelog entry REOPEN: It doesn't work when upgrade from UCS 5.0. The joinscript versions have to be raised. I suggest to raise them not only by 1 but e.g. by 5 to allow further joinscript adjustments in UCS 5.0 in the future after UCS 5.1 is released.
increased versions of affected joinscripts
OK: all joinscript version numbers have been increased.
univention-self-service (6.0.6) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-s4-connector (16.0.2) 53f55b8e89c0 | chore: update joinscript version univention-s4-connector (15.0.6) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-radius (9.0.2) 53f55b8e89c0 | chore: update joinscript version univention-radius (8.0.8) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-portal (6.0.2) 53f55b8e89c0 | chore: update joinscript version univention-portal (5.0.7) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-monitoring-client (3.0.1) 53f55b8e89c0 | chore: update joinscript version univention-monitoring-client (2.0.5) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-join (14.0.2) 53f55b8e89c0 | chore: update joinscript version univention-join (13.0.8) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-fetchmail (15.0.1) 53f55b8e89c0 | chore: update joinscript version univention-fetchmail (14.0.5) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7 univention-appcenter (11.0.1) 53f55b8e89c0 | chore: update joinscript version univention-appcenter (10.0.10) b0cab7c2e4bd | chore: set --ucsversionstart flag to 5.0-7