[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Concerns with OLC (cn=config) for editing schema, ACLs, and deleting entries



On Mar 21, 2012, at 5:59 PM, David Arroyo wrote:

> What is the correct way to delete a database from olc?

I get the feeling it is frowned upon, but I think you could:
1. "slapcat -s 'cn=config'" > config.ldif
2. edit config.ldif
3. delete or move slapd.d/*
4. slapadd -n0 -F /path/to/slapd.d -l config.ldif

note: ensure slapd.d ends up with appropriate ownership/permissions.

Please correct me if I'm wrong.

-Chris

Attachment: smime.p7s
Description: S/MIME cryptographic signature