Quanah Gibson-Mount wrote:
--On Monday, April 26, 2021 10:46 AM -0700 Quanah Gibson-Mount quanah@symas.com wrote:
--On Saturday, April 24, 2021 11:04 PM +0300 Николай Данилов niko@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 database.
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.