[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Remove a schema using OpenLDAP dynamic configuration
Le vendredi 27 avril 2012 Ã 08:12 -0700, Quanah Gibson-Mount a Ãcrit :
> --On Friday, April 27, 2012 12:45 PM +0200 Jean-Philippe Braun
> <eon@patapon.info> wrote:
>
> > Hi all,
> >
> > I'm trying to add/remove schemas dynamically using the cn=config
> > database (using slapd 2.4.23-7.2 on debian stable).
>
> a) You really should run a current version of OpenLDAP for numerous reasons.
>
> > So is it possible to remove a schema like this ? I should miss
> > something...
>
> b) there is no delete support in OL 2.4 for dynamic config. You can
> achieve this by:
>
> stopping slapd
> using slapcat to export the dynamic config to LDIF
> Modifying the LDIF export to remove the schema in question
> Remove (or rename) your old dynamic config directory
> slapadd the updated LDIF
> start slapd
>
> There cannot be any entries in your databases using that schema.
>
Thanks.
Is this feature planned for OL future releases ?