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.
|