Bug 55472 - [Kelvin] ucsschool.lib should compare OU part in group name to OU case insensitive
Summary: [Kelvin] ucsschool.lib should compare OU part in group name to OU case insens...
Status: CLOSED MOVED
Alias: None
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
Version: UCS@school 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Daniel Tröder
QA Contact: Tobias Wenzel
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-05 15:46 CET by Daniel Tröder
Modified: 2023-06-27 15:01 CEST (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):
Customer ID:
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-12-05 15:46:30 CET
+++ This bug was initially created as a clone of Bug #55455 +++

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 2 Daniel Tröder univentionstaff 2023-06-27 15:01:21 CEST
Has been released with Kelvin app version 1.8.1 in december.