Re: deleting values from multivalued attribute

2011-03-25 Thread Michael Ströder
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: oldm...@example.com >> - >> add: mailAlterna

Re: deleting values from multivalued attribute

2011-03-25 Thread Emmanuel Lecharny
On 3/25/11 5:27 PM, Hugo Monteiro wrote: I wonder if it's also possible to use the same approach but for value modification. In brief evaluation, my guess is no, since the ldif syntax doesn't provide any way to distinct between the value to be replaced and the one to replace with. I don't und

Re: deleting values from multivalued attribute

2011-03-25 Thread Hugo Monteiro
On 03/25/2011 04:00 PM, Emmanuel Lecharny wrote: On 3/25/11 4:44 PM, Hugo Monteiro wrote: On 03/25/2011 03:00 PM, Emmanuel Lecharny wrote: On 3/25/11 3:51 PM, Hugo Monteiro wrote: Hello list, is it possible to perform the deletion of only a certain number of values, from a multivalued attrib

Re: deleting values from multivalued attribute

2011-03-25 Thread Emmanuel Lecharny
On 3/25/11 4:44 PM, Hugo Monteiro wrote: On 03/25/2011 03:00 PM, Emmanuel Lecharny wrote: On 3/25/11 3:51 PM, Hugo Monteiro 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

Re: deleting values from multivalued attribute

2011-03-25 Thread Hugo Monteiro
On 03/25/2011 03:00 PM, Emmanuel Lecharny wrote: On 3/25/11 3:51 PM, Hugo Monteiro 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? O

Re: deleting values from multivalued attribute

2011-03-25 Thread Benjamin Griese
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:

Re: deleting values from multivalued attribute

2011-03-25 Thread Emmanuel Lecharny
On 3/25/11 3:51 PM, Hugo Monteiro 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? Of course. http://download.oracle.com/docs/cd/E193

deleting values from multivalued attribute

2011-03-25 Thread Hugo Monteiro
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: u...@example.com mailAlternateAddress: first.l...@example.com ma