[imp] How are ldap prefs encoded?

Lee lee@disinfo.com
Fri, 28 Jun 2002 17:31:08 -0400


I did look at the source code, and saw the base_64 being used.
Unfortunately, as I said before when I run base64_decode() on the ldap
values (ie. on the data stored in the ldap attribute 'identities'), I
just get more junk. 

Any ideas what Im doing wrong?

Lee


-----Original Message-----
From: imp-bounces@lists.horde.org [mailto:imp-bounces@lists.horde.org]
On Behalf Of Jon Parise
Sent: Friday, June 28, 2002 5:27 PM
To: imp@lists.horde.org
Subject: Re: [imp] How are ldap prefs encoded?

On Fri, Jun 28, 2002 at 05:22:34PM -0400, Lee wrote:

> I'm trying to access the horde pref data stored in our ldap directory
on
> latest versions of horde/imp/turba.

[snip]
  
> How do decode these values? I tried base64_decode, utf8_decode,
> imap_utf7_decode, none seem to fix the data.

It would behoove you to look at the source code.  They are base64-
encoded.
 
-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member

-- 
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscribe@lists.horde.org