(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Common Errors : (Answer) ldap_*: Internal (implementation specific) error (80) - additional info: entry index delete failed
This seems to be related with wrong ownership of the BDB's dir (/var/lib/ldap) and files.
chmod -r openldap:openldap /var/lib/ldap fixes it in Debian Etch.
I don't really know how the wrong permission went into place, but I suspect it has something to do with slapd's starting, no database existing (I had deleted it to get a new, fresh one), and slapd creating one before chroot.
After a bug report, some insightfull feedback, and some amount of testing, i found out that the 'wrong ownership of new files' problem is not with slapd but with slapadd. This happens when one initially populates the Directory.
Oh, and the right switch of chown is '-R', not '-r'.
My God! What a mess! The right command to correct this problem is: chown -R /var/lib/ldap
[Append to This Answer]
pedrorandrade@gmail.com
Previous: (Answer) `make test' fails
Next: (Answer) ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
This document is: http://www.openldap.org/faq/index.cgi?file=1430
[Search] [Appearance]
This is a Faq-O-Matic 2.721.
© Copyright 1998-2009, OpenLDAP Foundation, info@OpenLDAP.org