|OpenLDAP Faq-O-Matic : Trash : How do i turn a jpeg into ldif format?|
|A jpeg image must be entered in a LDIF as a Base 64 encoded string.
OpenLDAP includes a tool ldif(1) for converting data into a form
suitable for inclusion in an LDIF file.
ldif -b jpegPhoto < image.jpg
You can than insert this output into your LDIF file.
|[Append to This Answer]|