Hugo Monteiro wrote:
Otherwise, assuming you want to replace the oldmail@ value by the newmail@ value, the correct ldif would be : uid=user,ou=users,dc=example,dc=com changetype: modify delete: mailAlternateAddress mailAlternateAddress: oldmail@example.com
add: mailAlternateAddress mailAlternateAddress: newmail@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.
Ciao, Michael.