From: Graham B. <gb...@po...> - 2000-05-09 15:22:41
|
On Tue, May 09, 2000 at 03:57:42PM +0100, Reda Bouarich wrote: > > Hello all, > I would like to know if it is posssible (using LDIF for instance) to modify > an attribute "multivalued" value. > Example: > > the attribute X is multivalued > X = A > = B > = C > and i would like to modify that to > X = A > = B > = D Yes this is possible, but you have to know the value of C In LDIF you can do dn: your-dn-here changetype: modify delete: X X: C add: X X: D or directly in perl using Net::LDAP $ldap->modify( dn => $dn, delete => [ X => $C ], add => [ X => $D ] ); Graham. |