From: Michael S. <mi...@st...> - 2008-03-19 18:01:57
|
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. |