Well found nothing In FAQ or the Admin guide
Found this old message in the ML http://www.openldap.org/lists/openldap-software/200904/msg00005.html
Guess the way to do it is shutdown and delete the files
Alex
-----Original Message----- From: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Alex Samad - Yieldbroker Sent: Tuesday, 13 March 2012 4:40 PM To: openldap-technical@openldap.org Subject: how to delete backend DB
Hi
I am trying to delete a backend DB
Currently have dn: olcDatabase={-1}frontend,cn=config dn: olcDatabase={0}config,cn=config dn: olcDatabase={1}monitor,cn=config dn: olcDatabase={2}bdb,cn=config
I would like to delete olcDatabase={2}bdb,cn=config
I tried
ldapdelete -v "olcDatabase={2}bdb,cn=config"
note- I have ~/.ldaprc setup with URI & SAS_MECH
slapd will not let me do it ? I know I can shut down slapd and remove the file. But I am wondering if there is a "proper" way to do it
Thanks Alex