Re: I can't delete a shell DB

2013-04-18 Thread Diego Woitasen
On Wed, Apr 17, 2013 at 6:08 PM, Michael Ströder mich...@stroeder.com wrote: Howard Chu wrote: Michael Ströder wrote: From a practical standpoint - behavior of the service when clients are making requests to a backend that gets removed is totally undefined. LDAP clients do not care about

Re: I can't delete a shell DB

2013-04-18 Thread Quanah Gibson-Mount
--On Thursday, April 18, 2013 7:18 AM -0300 Diego Woitasen di...@woitasen.com.ar wrote: I know that I could remove it from the filesystem, but I wouldn't. You can use slapcat -n 0 to export your cn=config database to LDIF. Modify the LDIF for cn=config to no longer reference back-shell,

Re: I can't delete a shell DB

2013-04-18 Thread Michael Ströder
Quanah Gibson-Mount wrote: --On Thursday, April 18, 2013 7:18 AM -0300 Diego Woitasen di...@woitasen.com.ar wrote: I know that I could remove it from the filesystem, but I wouldn't. You can use slapcat -n 0 to export your cn=config database to LDIF. Modify the LDIF for cn=config to no

Re: I can't delete a shell DB

2013-04-18 Thread Quanah Gibson-Mount
--On Thursday, April 18, 2013 4:58 PM +0200 Michael Ströder mich...@stroeder.com wrote: Quanah Gibson-Mount wrote: --On Thursday, April 18, 2013 7:18 AM -0300 Diego Woitasen di...@woitasen.com.ar wrote: I know that I could remove it from the filesystem, but I wouldn't. You can use slapcat

I can't delete a shell DB

2013-04-17 Thread Diego Woitasen
Hi, I was using shell backend and now switched to sock backend (shell looks unstable). My problem not is that I can't delete the shell DB. This is the entry in cn=config: dn: olcDatabase={3}shell,cn=config objectClass: olcShellConfig objectClass: olcDatabaseConfig olcDatabase: {3}shell When I

Re: I can't delete a shell DB

2013-04-17 Thread Michael Ströder
Diego Woitasen wrote: I was using shell backend and now switched to sock backend (shell looks unstable). My problem not is that I can't delete the shell DB. This is the entry in cn=config: dn: olcDatabase={3}shell,cn=config objectClass: olcShellConfig objectClass: olcDatabaseConfig

Re: I can't delete a shell DB

2013-04-17 Thread Diego Woitasen
On Wed, Apr 17, 2013 at 12:52 PM, Michael Ströder mich...@stroeder.com wrote: Diego Woitasen wrote: I was using shell backend and now switched to sock backend (shell looks unstable). My problem not is that I can't delete the shell DB. This is the entry in cn=config: dn: olcDatabase={3

Re: I can't delete a shell DB

2013-04-17 Thread Howard Chu
Michael Ströder wrote: Diego Woitasen wrote: I was using shell backend and now switched to sock backend (shell looks unstable). My problem not is that I can't delete the shell DB. This is the entry in cn=config: dn: olcDatabase={3}shell,cn=config objectClass: olcShellConfig objectClass

Re: I can't delete a shell DB

2013-04-17 Thread Howard Chu
Diego Woitasen wrote: On Wed, Apr 17, 2013 at 12:52 PM, Michael Ströder mich...@stroeder.com wrote: Diego Woitasen wrote: I was using shell backend and now switched to sock backend (shell looks unstable). My problem not is that I can't delete the shell DB. This is the entry in cn=config

Re: I can't delete a shell DB

2013-04-17 Thread Michael Ströder
Howard Chu wrote: From a philosophical standpoint - production configurations generally only grow. IMO this general assumption is not valid. If you're mucking around and experimenting, you do that on a throw-away development system. Well, one should always experiment on a dedicated test

Re: I can't delete a shell DB

2013-04-17 Thread Howard Chu
Michael Ströder wrote: From a practical standpoint - behavior of the service when clients are making requests to a backend that gets removed is totally undefined. LDAP clients do not care about (OpenLDAP) database backends at all. They simply query a DIT. Yes, but they expect to get

Re: I can't delete a shell DB

2013-04-17 Thread Michael Ströder
Howard Chu wrote: Michael Ströder wrote: From a practical standpoint - behavior of the service when clients are making requests to a backend that gets removed is totally undefined. LDAP clients do not care about (OpenLDAP) database backends at all. They simply query a DIT. Yes, but