You notice entries like these in your logfiles:
Nov 5 15:06:39 ucs slapd: <= mdb_equality_candidates: (o) not indexed Nov 5 15:06:39 ucs slapd: <= mdb_equality_candidates: (o) not indexed
These entries indicate an attribute field not being indexed for faster search. In case you see these messages really often you might generate an index for the attributes in question (“o”).
/usr/share/univention-ldap/ldap_setup_index --add-eq o
If you want to make sure more data is being indexed perform the following steps to find all attributes not indexed.
First, make sure (r)syslog will log all messages from ldap and not suppress due to flooding:
ucr set syslog/limit/burst=0 ucr set syslog/limit/interval=0 systemctl restart rsyslog systemctl restart syslog
Enable debug logging for ldap:
ucr set ldap/debug/level=257 systemctl restart slapd
Monitor logfile for matching entries
tail -f /var/log/syslog | grep "not indexed"
Create the indexes as shown above