Univention Bugzilla – Bug 20199
Indizes aus UCR Variablen stimmen nicht mit den Indizes aus slapd.conf überein
Last modified: 2018-04-14 13:43:44 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.
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)
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.