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

Re: Simple question on ldapmodify command



I believe it's:

dn: cn=Barbara Jensen, o=University of Michigan, c=US
changetype: modify
delete: nickname
nickname: Mary
-

Try and let us know.

Alessandro Panzetti wrote:
> 
> Hello,
> I have a simple question on ldapmodify command.
> Assuming that the situation in LDAP is:
> dn: cn=Barbara Jensen, o=University of Michigan, c=US
> objectClass: person
> nickname: Babs
> nickname: Mary
> nickname: Baby
> 
> Assuming that the file /tmp/entrymods exists and has the contents:
> dn: cn=Barbara Jensen, o=University of Michigan, c=US
> changetype: modify
> delete: nickname
> 
> Using ldapmodify -f /tmp/entrymods all the nicknames will be deleted.
> If I want to delete only "nickname: Mary", how can i do ?
> Is the only solutions re-add "nickname: Babs" and "nickname: Baby" after the
> deletion?
> 
> Thanks in advance for help.
> 
> Alessandro Panzetti
> C&D srl
> Milan (Italy)
> 
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

-- 
P.Timmons, service informatique