dataflake.org

Home Documentation Software Old Stuff Bug Reporting

Add Entry to: Updating jpegPhoto (Resolved)

Issue Updating jpegPhoto (question)
Posted 2008/03/31 by Dragos Chirila
Hi Jens, I am trying to modify the jpegPhoto field in the LDAP (upload a picture). I have succesfully read this property and it works perfect - the image display ok. Basically I am calling the method manage_setUserProperty with prop_name='jpegPhoto' and the question is how to pass the prop_value. I have tried in different ways (file.read() or base64.encodestring(file.read()) and it doesn't work. Could you please guide me on how to pass the correct value? Thank you very much.


Full name
Email address