Bug 48384 - Add LDAP indices for ucsschoolRole
Add LDAP indices for ucsschoolRole
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: LDAP
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v1
Assigned To: Jürn Brodersen
Daniel Tröder
:
Depends on: 48246
Blocks:
  Show dependency treegraph
 
Reported: 2018-12-20 10:20 CET by Sönke Schwardt-Krummrich
Modified: 2019-03-12 10:58 CET (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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
fix "if", add "ended" message (1.83 KB, patch)
2019-01-21 08:57 CET, Daniel Tröder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2018-12-20 10:20:22 CET
Starting with UCS@school 4.4, we will use ucsschoolRole more intensively, so we should add the LDAP attribute to the LDAP indices automatically.
Comment 1 Jürn Brodersen univentionstaff 2019-01-18 13:41:24 CET
[4.4 9c508cfee] Bug #48384: Add LDAP indices for ucsschoolRole
[4.4 9c13a7e37] Bug #48384: yaml
Comment 2 Daniel Tröder univentionstaff 2019-01-21 08:57:19 CET
Created attachment 9807 [details]
fix "if", add "ended" message

* Small syntax fix.
* Add "Finished" message to offset against messages from the code below.
Comment 3 Daniel Tröder univentionstaff 2019-01-21 08:57:51 CET
- .. grep -Fq "NAME 'ucsschoolRecordUID'"
+ .. grep -Fq "NAME 'ucsschoolRecordUID'" &&
Comment 4 Jürn Brodersen univentionstaff 2019-01-21 15:16:06 CET
The suggested changes are looking good :) I applied them to the join scripts.

[4.4 adfd2129e] Bug #48384: Fix schema check for ldap indices
[4.4 e5ba9b1f5] Bug #48384: yaml
Comment 5 Daniel Tröder univentionstaff 2019-01-21 15:38:29 CET
OK: join script code: indices for ucsschoolRole are created
OK: manual test: indices are used when doing a substring search
OK: advisory
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2019-03-12 10:58:41 CET
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.