logo       
Google Custom Search
    AddThis Social Bookmark Button

getting an Base64 encoded attribute from ldap: msg#00052

Subject: getting an Base64 encoded attribute from ldap
Hello,

I am having a problem getting a base64 encoded attribute from an ldap
server. 

When I am doing an ldapsearch from a unix commandline I get the attribute
correctly:

QWxhZGRpbjpvcGVuIHNlc2FtZQ==

decoding ( decode_base64($encoded) ) it gives me the rigt content

Carlsson Bil Âerebro AB


When getting it from Ldap using Net::Ldap I get unencryted somthing like
this 

Carlsson Bil Â?erebro 

I have read nearly everything a could find but didn't anything how to
extract the attribute correctly as a base64 as which it is saved in the
ldap directory.

Can anybody please give me a hint?

Thanx,

Andy






Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>