Quanah Gibson-Mount wrote:
--On Monday, April 26, 2021 10:46 AM -0700 Quanah Gibson-Mount <quanah(a)symas.com>
> --On Saturday, April 24, 2021 11:04 PM +0300 Николай
> Данилов <niko(a)dwolfix.ru> wrote:
>> When installing openldap with database mdb, root entry cannot be deleted.
> This is a bug with back-mdb that was not present with back-bdb/hdb. When
> you originally opened your issue in the bug tracker, you said you
> couldn't delete the rootDSE, which would be correct. This is an issue
> with deleting the root of the database DIT, which is different.
As a workaround, you can stop slapd and delete the database files (data.mdb, lock.mdb) in
your configured path for where they are stored for that specific
No need to stop slapd - just change the directory path in cn=config to point
to a new location. Then delete the old files.
Then add your new set of objects.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/