[Date Prev][Date Next]
Re: Netscape & OpenLDAP
>Has anybody succeeded in adding a jpeg image in to the ldap
>database(ldbm) and then view the image with all the other ldap
>attributes in netscape. I can import the data using the ldif command and
>add the jpegphoto attribute to the database, but the image in netscape
>ldap search shows up broken. Any ideas how I can fix that.
>I got the jpegphoto output from the following command
>ldif -b jpegPhoto < /var/ldap/scasi.jpg
>Sample LDIF file
Shouldn't that be:
With double colons indicating binary encoding?
I know that all my users with æøå in their names get encoded with Base64,
which shows up after a :: in LDIF files.
With only a single colon I suspect you would simply get the plain ASCII
data into the attribute, containing rubbish that could certainly never be
interpreted as valid JPEG data.