Reproduced in master by trying to change olcSaslHost:
config_modify_internal() does this with a == NULL:
5827 a->a_flags |= SLAP_ATTR_IXADD;
[email protected] writes:
> To guarantee the removal of an attribute when I don't know if the attribute
> exists already or not I often employ the following LDIF:
>
> ==============
> dn: cn=config
> changeType: modify
> replace: attrToDelete
> attrToDelete: dummy
> -
> delete: attrToDelete
> ==============
You can use this instead:
dn: cn=config
changeType: modify
replace: attrToDelete
-
--
Hallvard