[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5166) Wrong DBD's database permissions when slapd starts

Full_Name: Pedro RA
Version: 2.3.30-5
OS: Debian 4.1.1-21
Submission from: (NULL) (

When slapd is starting, and no database exists, slapd creates a new one with the
wrong permissions (user:root, group:root)
This probably is caused by slapd creating the database before chroot.
The before-chroot creation of the database is the bug.

When this happens ldap-delete operations fail with:
ldap_delete: Internal (implementation specific) error (80)
        additional info: entry index delete failed

A working workaround is setting the right permissions to DBD files. 
In my system (Debian Etch 4.1.1-21, openldap 2.3.30-5) the command is: 
chmod -r openldap:openldap /var/lib/ldap