ага нашел
Add the following line to /etc/ldap/slapd.conf (under the existing 'index' line):
index uid,memberUid eq
Then issue the following commands:
sudo /etc/init.d/slapd stop
sudo slapindex
sudo chown openldap:openldap /var/lib/ldap/*
/etc/init.d/slapd start