[Date Prev][Date Next]
Re: deleting values from multivalued attribute
Hugo Monteiro wrote:
>> Otherwise, assuming you want to replace the oldmail@ value by the
>> newmail@ value, the correct ldif would be :
>> changetype: modify
>> delete: mailAlternateAddress
>> mailAlternateAddress: firstname.lastname@example.org
>> add: mailAlternateAddress
>> mailAlternateAddress: email@example.com
> Yes, that's what was intended.
Note that this only works if the attribute type (here mailAlternateAddress)
has an EQUALITY matching rule defined in the subschema. This is not always the
case, e.g. binary attributes does not have one.