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
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
--On Tuesday, March 13, 2012 10:58 PM +0000 Alex Samad - Yieldbroker Alex.Samad@yieldbroker.com wrote:
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
Unless you've compiled OpenLDAP 2.4.30 with delete support enabled (via some flag I don't recall off the top of my head), no, it won't support deletes in cn=config. Such support is entirely experimental, use it at your own risk.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Hi
Thanks
-----Original Message----- From: Quanah Gibson-Mount [mailto:quanah@zimbra.com] Sent: Wednesday, 14 March 2012 10:25 AM To: Alex Samad - Yieldbroker; openldap-technical@openldap.org Subject: RE: how to delete backend DB
--On Tuesday, March 13, 2012 10:58 PM +0000 Alex Samad - Yieldbroker Alex.Samad@yieldbroker.com wrote:
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
Unless you've compiled OpenLDAP 2.4.30 with delete support enabled (via some flag I don't recall off the top of my head), no, it won't support deletes in cn=config. Such support is entirely experimental, use it at your own risk.
--Quanah
--
Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org