Bug 55455 - ucsschool.lib should compare OU part in group name to OU case insensitive
ucsschool.lib should compare OU part in group name to OU case insensitive
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v3-errata
Assigned To: Daniel Tröder
Tobias Wenzel
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-24 15:57 CET by Daniel Tröder
Modified: 2023-01-20 09:48 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.086
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 Daniel Tröder univentionstaff 2022-11-24 15:57:25 CET
A validation error happens in the school library, when the OU part of a school class (or work group) name does not case sensitively match the actual OU name.

---------------------------------------------------------------------------------

ValueError: Missing school prefix in name: SchoolClass(name='DemoSchool-1a', school='DEMOSCHOOL', dn=u'cn=DemoSchool-1a,cn=klassen,cn=schueler,cn=groups,ou=DEMOSCHOOL,$LDAP_BASE').

---------------------------------------------------------------------------------

The "ou" is searched/compared case insensitively in LDAP, and should thus also be compared case insensitively in Python.
Comment 3 Tobias Wenzel univentionstaff 2022-12-07 09:12:42 CET
Was qa't on MR & and already merged. Will verify after jenkins tests.
Comment 4 Tobias Wenzel univentionstaff 2023-01-20 09:48:47 CET
Errata updates for UCS@school 5.0 v3 have been released.

https://docs.software-univention.de/ucsschool-changelog/5.0v3/de/changelog.html

If this error occurs again, please clone this bug.