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

Re: [ldapmodify] multiple entries of the same attibute



On Fri, 13 Oct 2017 08:10:44 -0700
Quanah Gibson-Mount <quanah@symas.com> wrote:

> > How do I tell ldapmodify just to delete 1 particular item with
> > AttributeValue=X, and not all of them?
> 
> You do a delete+add, just like Dieter said.  What you did in your
> example was a replace op.
> 
> I.e., you'd do something like:
> 
> dn: <whatever>
> changetype: modify
> delete: mail
> mail: my-value
> -
> add: mail
> mail: my-value

Ah, ok, the manpage does not provide this information. There is just a
"replace" example.

Thnx to the both of you!

R.

-- 
richard lucassen
http://contact.xaq.nl/