Univention Bugzilla – Bug 48246
ucsschoolRole attribute should support substring search
Last modified: 2019-03-12 13:26:17 CET
Currently the LDAP schema is: ------------------------------------------------------------------ attributetype ( univentionSchool:5101 NAME 'ucsschoolRole' DESC 'Role of UCS@school object in given context' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) ------------------------------------------------------------------ It is missing: ------------------------------------------------------------------ SUBSTR caseIgnoreSubstringsMatch ------------------------------------------------------------------ This prevents from searching for all school_classes or all objects of a school, etc.
Listener module for customer had to be written with filtering code in the listener, because the LDAP filter could not do the job.
[4.4 095edefb4] Bug #48246: Add substring search for ucsschoolRole [4.4 062b13297] Bug #48246: yaml Package: ucs-school-import Version: 17.2.0-2A~4.4.0.201901171723 Branch: ucs_4.4-0 Scope: ucs-school-4.4
OK: before substring search didn't work, after update works REOPEN: join script VERSION was not raised, join script didn't run and thus the new schema wasn't installed (I did it manually for testing) REOPEN: OpenLDAP index for ucsschoolRole wasn't rebuilt: -- /var/log/syslog -- Jan 18 09:28:59 m65 slapd[25327]: <= mdb_equality_candidates: (ucsschoolRole) not indexed Jan 18 09:29:03 m65 slapd[25327]: <= mdb_substring_candidates: (ucsschoolRole) not indexed
Join script version was raised in commit 0dd045d981 for bug 48226. Index should now be added, see bug #48384.
Substring search works as expected (and using indices).
UCS@school 4.4 v1 has been released. https://docs.software-univention.de/release-notes-ucsschool-4.4v1-de.html If this error occurs again, please clone this bug.
Has this already been released? If not please -> reopen
(In reply to Valentin Heidelberger from comment #7) > Has this already been released? Yes, UCS@school 4.4v1.