Bug 20199 - Indizes aus UCR Variablen stimmen nicht mit den Indizes aus slapd.conf überein
Indizes aus UCR Variablen stimmen nicht mit den Indizes aus slapd.conf überein
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 2.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-30 16:17 CEST by Felix Botner
Modified: 2018-04-14 13:43 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2010-09-30 16:17:04 CEST
sambaSID ist z.B. in ldap/index/eq und ldap/index/sub vorhanden.

-> ucr get ldap/index/eq | grep -q sambaSID && echo "sambaSID in eq"
sambaSID in eq

-> ucr get ldap/index/sub | grep -q sambaSID && echo "sambaSID in sub"
sambaSID in sub

In der slapd.conf Datei taucht dieses Attribut jedoch nur im eq Index auf, nicht in sub:

-> grep 'index.*sambaSID' /etc/ldap/slapd.conf
index  ...aryGroupSID,sambaSID,sambaSIDList,secretary... eq

Da ein Attribut nur einmal in den Index Definitionen auftauchen darf, müsste es eigentlich eine Zeile "index ... eq,sub" geben (sambaSID sollte dann dort stehen und nicht unter eq), aber zumindest diese fehlt.
Comment 1 Felix Botner univentionstaff 2013-03-07 15:37:53 CET
Das Problem ist, dass in /etc/univention/templates/files/etc/ldap/slapd.conf.d/40univention-ldap-server_database (indexcombinations) die Kompination "eq,sub" nicht berücksichtigt wird.

Das bedeutet, alle Attribute die in ldap/index/eq und ldap/index/sub sind, landen im slapd index eq (sollten aber im slapd index eq,sub sein)
Comment 2 Stefan Gohmann univentionstaff 2016-04-25 07:52:20 CEST
This issue has been filed against UCS 2.4.

UCS 2.4 is out of maintenance and many UCS components 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".
In this case please provide detailed information on how this issue is affecting
you.