/usr/sbin/slapindex is in slapd 2.4.31-1+nmu2ubuntu8.
This file is owned by root:root, with mode 0o755.
It is a symlink to /usr/sbin/./usr/sbin/slapcat
/usr/sbin/./usr/sbin/slapcat