Zhang Huangbin wrote:
> 
> Is there ny example to display jpegPhoto stored in LDAP as base64 format?

Not sure what you really want to display and where.

How about entry['jpegPhoto'][0].encode('base64') ?

Or are you talking about LDIF? Then use module ldif which automagically
base64-encodes NON-ASCII values.

Ciao, Michael.

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to