[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: modifying an attribute with more than 1 value?
The input to ldapmodify would be:
dn: dn-to-modify
changetype: modify
delete: PC
PC: Plzen1
-
add: PC
PC: Prague 1
-
Which would delete the attribute value 'Plzen1' from PC, and add the
attribute value 'Prague 1'. See 'man slapd.replog' for information
on the input to ldapmodify.
By the way, I've been to both Plzen and Prague, about 10 years ago.
Randy
> <color><param>0100,0100,0100</param>Is it possible to modify only 1 value of an attribute which has more
> than 1 value?
>
>
> eg. PC: Plzen1
>
> PC: Prague 1
>
>
> If I want to change Plzen1 to Plzen2, do I have to specify Prague1
> as well, or is there something in ldapmodify that will only change
> that value.
>
>
> The -r flag leaves only Plzen2 in the record.
>
> Without the -r the following error is displayed <bold>type or value exists.</bold>
>
> .
>
> Thanks for any help
>
>
> Tony
>
> <nofill>
> ----------------------------------------------------------------
>
> Antonin Ch. Novak mailto:Antonin.Novak@cca.cz
> Systemovy administrator
> Systemova a technicka podpora
> CCA spol. s r.o. Web: http://www.cca.cz
> Kratka 8,
> 301 17 Plzen
> Czech Republic
>
> Tel: +42 019 7221253
> Fax: +42 019 7222931
>
>