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

Antw: Re: Removing Overlays Using cn=config



>>> Howard Chu <hyc@symas.com> schrieb am 01.08.2013 um 01:44 in Nachricht
<51F9A177.10109@symas.com>:
> Tim Gustafson wrote:
>> Hi,
>>
>> I would like to remove the "auditlog" overlay from one of my databases
>> on my OpenLDAP server that is running 2.4.35 and is configured via
>> cn=config.
>>
>> But, when I try to remove the overlay object, I get:
>>
>> 0x35 (LDAP_UNWILLING_TO_PERFORM)

So actually "UNABLE" would be better than "UNWILLING", as it seems (from what you wrote below) even if slapd wanted to, it could not ;-)

>>
>> I Googled around about this, and found some older list messages about
>> not being able to delete overlays, but most of those messages are
>> years old and I was wondering if this has changed at all?
> 
> cn=config does not support delete operations. This will probably be 
> supported 
> in OpenLDAP 2.5.
> 
>> If not, what is the "proper" way to remove an overlay?
> 
> slapcat -n0, edit LDIF, remove old configDB and reimport.
> 
> -- 
>    -- Howard Chu
>    CTO, Symas Corp.           http://www.symas.com 
>    Director, Highland Sun     http://highlandsun.com/hyc/ 
>    Chief Architect, OpenLDAP  http://www.openldap.org/project/