Bug 50889 - LDAP schema files that were not registered via ucs_registerLDAPExtension should be found in the diagnosis module
LDAP schema files that were not registered via ucs_registerLDAPExtension shou...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-3-errata
Assigned To: Dirk Wiesenthal
Johannes Keiser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-03-02 15:20 CET by Dirk Wiesenthal
Modified: 2020-03-11 14:42 CET (History)
2 users (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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2020-03-02 15:20:03 CET
... and, preferrably, automatically registered.
Comment 1 Dirk Wiesenthal univentionstaff 2020-03-02 15:25:26 CET
Knowledge about schema files is hard coded. The following files are recognized:

'/var/lib/univention-ldap/local-schema/univention-fetchmail.schema'
'/var/lib/univention-ldap/local-schema/univention-openvpn.schema'
'/var/lib/univention-ldap/local-schema/kopano4ucs.schema'
'/var/lib/univention-ldap/local-schema/plucs.schema'
'/var/lib/univention-ldap/local-schema/zarafa4ucs.schema'
'/usr/share/univention-ldap/schema/asterisk4ucs.schema'
'/var/lib/univention-ldap/local-schema/univention-corporate-client.schema'

and registered via ucs_registerLDAPExtension with their appropriate App ID. For Kopano, Fetchmail, and OpenVPN4UCS, this differs as there are patches available and these differ in "$package" and "$packageversion". I took the correct ones there.
Comment 2 Dirk Wiesenthal univentionstaff 2020-03-02 15:27:00 CET
Done with umc/python/diagnostic/plugins/60_old_schema_registration.py

in univention-management-console-module-diagnostic 5.0.1-47A~4.4.0.202003021527
Comment 3 Jannik Ahlers univentionstaff 2020-03-03 17:05:59 CET
7ed7df8c22 Bug #50889: add test 60_umc/35_umc_diagnostics_old_schema_registration
Comment 4 Johannes Keiser univentionstaff 2020-03-06 10:16:44 CET
What i tested:
installing the apps, deinstalling, upgrading to 4.4-3 unreleasd, run diagnostic module

OK: paths to .schema files
OK: packageversions
OK: diagnostic module (texts, trigger, fix)
OK: test 60_umc/35_umc_diagnostics_old_schema_registration
OK: yaml
-> verified
Comment 5 Erik Damrose univentionstaff 2020-03-11 14:42:07 CET
<http://errata.software-univention.de/ucs/4.4/476.html>