Mdb_equality_candidates: (memberOf) not indexed /usr/share/univention-ldap/ldap_setup_index fails

On UCS 4.4.6 i am getting a lot of these messages

Feb  8 08:40:14 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:40:14 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:40:24 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:40:43 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:40:43 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:40:43 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:40:58 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:41:28 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:41:45 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed
Feb  8 08:42:23 master slapd[1231]: <= mdb_equality_candidates: (memberOf) not indexed

i found this cold solution: Problem: Log Entries mdb_equality_candidates: (o) not indexed

But getting an error while trying it

root@master:~# systemctl stop slapd
root@master:~# /usr/share/univention-ldap/ldap_setup_index --add-eq memberOf
Multifile: /etc/ldap/slapd.conf
CRITICAL:__main__:Error in OpenLDAP configuration:
/etc/ldap/slapd.conf: line 144: index attribute "memberOf" undefined
slaptest: bad configuration file

!

i noticed that root@master:~# /usr/share/univention-ldap/ldap_setup_index --add-eq memberOf
was adding some permanent stuff
after restarting slapd and doing erata updates, the memberOf is back again in /etc/slapd.conf and slapd is not starting because of that Attribute

so i removed it again

root@master:~# service slapd stop
root@master:~# /usr/share/univention-ldap/ldap_setup_index --rm-eq memberOf
root@master:~# service slapd start

I would be still interested in how to handle the index in this case related to “memberOf”

seems like its mentioned already in a bug
https://forge.univention.org/bugzilla/show_bug.cgi?id=47464

Is there a way to post this link to the bug as well?

Mastodon