[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: deleting values from multivalued attribute
- To: Hugo Monteiro <hugo.monteiro@fct.unl.pt>
- Subject: Re: deleting values from multivalued attribute
- From: Benjamin Griese <der.darude@gmail.com>
- Date: Fri, 25 Mar 2011 16:07:06 +0100
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9po+LlbDgy1LG55qpfGQERc9jN2vtihXpHRAMS7jRUs=; b=twQarr+LT95lejfJCos1Ys5gEvGjiJwXnWLOPZUQk26l/RN7emFZC7OZY0CmaNYV5b eWCRifo1VM2X2RSl+teQf+eJFlaK+gQUXrKkB3XFOKA7z97GjD/TcoYB1SxulG59D+Nw mghv9Ay5cp+8Hixnq7QHJiwMGlFFLfDICINoQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=HO/yQLGCyYrLovytNLlNjJA6fqOIN0ltYTUnc9LvAuNxcI0nO98m3IwBjV8qxlVCLX yBXNGphTyiIxzgNwf5wVQ6zcjt1/PNjH059HJITsCPqyylaAencC05SHFp+7RKUVSRQ1 dAng10Tt2JRtIaONh7pAxyHK9E02NczMRLrDY=
- In-reply-to: <4D8CAC01.1060107@fct.unl.pt>
- References: <4D8CAC01.1060107@fct.unl.pt>
Hello Hugo,
my Apache Directory Studio shows me following operations:
adding an entry:
dn: cn=test,ou=Groups,dc=example,dc=com
changetype: modify
add: memberUid
memberUid: test
removing single entry of a multi-value attribute:
dn: cn=test,ou=Groups,dc=example,dc=com
changetype: modify
delete: memberUid
memberUid: test
bye, benjamin
On Fri, Mar 25, 2011 at 15:51, Hugo Monteiro <hugo.monteiro@fct.unl.pt> wrote:
> Hello list,
>
> is it possible to perform the deletion of only a certain number of values,
> from a multivalued attribute, without having to perform full deletion and
> then adding the ones we'd like to keep?
>
> example, entry has:
>
>
> mail: user@example.com
> mailAlternateAddress: first.last@example.com
> mailAlternateAddress: flast@example.com
> mailAlternateAddress: firstl@example.com
>
>
> I would like to be able to remove flast@example.com but keep the rest of the
> addresses, using a single ldap operation, ending up with
>
> mail: user@example.com
> mailAlternateAddress: first.last@example.com
> mailAlternateAddress: firstl@example.com
>
>
> Best Regards,
>
> Hugo Monteiro.
>
> --
> fct.unl.pt:~# cat .signature
>
> Hugo Monteiro
> Email : hugo.monteiro@fct.unl.pt
> Telefone : +351 212948300 Ext.15307
> Web : http://hmonteiro.net
>
> Divisão de Informática
> Faculdade de Ciências e Tecnologia da
> Universidade Nova de Lisboa
> Quinta da Torre 2829-516 Caparica Portugal
> Telefone: +351 212948596 Fax: +351 212948548
> www.fct.unl.pt apoio@fct.unl.pt
>
> fct.unl.pt:~# _
>
>
--
To be or not to be -- Shakespeare | To do is to be -- Nietzsche | To
be is to do -- Sartre | Do be do be do -- Sinatra