Univention Bugzilla – Bug 34283
DN substring checks in scholldap.py are done case sensitive
Last modified: 2023-06-23 13:15:27 CEST
A DN is case insensitive. Various functions in ucsschool-lib can fail. For example: 486 » def isStudent(self, userDN): 487 » » return userDN.endswith(self.students)
(In reply to Florian Best from comment #0) > A DN is case insensitive. Various functions in ucsschool-lib can fail. No. this is generally not true: A DN is a sequence of RDNs. An RDN is a sequence of Attribute-value pairs. Each attribute has its own schema definition with its own governing rules. Some attributes are case-sensitive, some are not. As such, a complete DN may have components that are case-sensitive as well as case-insensitive.
We should use the new univention.uldap.access.compare_dn() function instead.
This issue has been filled against UCS@school 4.1 (R2). The maintenance with bug and security fixes for UCS@school 4.1 (R2) has ended on 5th of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3 (or later). Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
This issue has been filed against UCS 4.4. UCS 4.4 is out of maintenance and UCS components may have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.