Rahul Amaram wrote: > I was wondering if there is any way I can add binary data (such as > jpegPhoto and userCertificate) using python-ldap. I've googled but > coudn't find any solution. If there is no way of doing it, what is the > best alternative solution?
There's simply no difference. Note that normal strings are binary buffers in Python 2.x anyway. Since python-ldap does not treat Unicode objects differently at the moment any attribute value passed to a LDAPObject method is passed on in LDAP requests as is. Ciao, Michael. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
