From: Graham B. <gb...@po...> - 2002-01-14 15:24:13
|
You that is wrong. You need to decode the string first. MIME::Base64 can do that for you. Then pass the decoded form into ->modify. Graham. On Mon, Jan 14, 2002 at 03:41:46PM +0100, Uwe Jans wrote: > Hi, > > I would like to know how to add a base64 encoded string with perl-ldap? > > In ldif it looks like this: > > cn:: dfvfgwjfhwfj== > > And in Perl-Ldap i tried this: > > $ldap->modify( $dn, add => { cn => 'dfvfgwjfhwfj==' } ); > > but the result look like this in ldif: > > cn: dfvfgwjfhwfj== > > Thats is wrong, isn't it? > > > Thanks, for an quick answer. > > Uwe Jans > |