title: How to store a picture within Active Directory using Ruby in a Rail3App?
body: <p>All I want to do is to upload an image into the Active Directory. So far I can update any AD information but the image. I have tried to search for some idea but came up with nothing so far. </p>
  
  <p>Do I have to encode an image in a certain way? Do I just ldap-replace the jpegPhoto attribute with a byte-string of the photo? </p>
  
  <p>Any hint towards a solution would be great.</p>
  
  <p>Thanks in advance!</p>