[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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
dn: o=lucasdigital,c=us
objectClass: organization
dn: ou=people,o=lucasdigital,c=us
objectClass: organizationalUnit
dn: cn=Sandeep,ou=people,o=lucasdigital,c=us
cn: Sandeep
sn: Casi
ou: people
jpegphoto:/9j/4AAQSkZJRgABAgEASABIAAD/7RUEUGhvdG9zaG9wIDMuMAA4QklNA+kAAAAAA
HgAAwAAAEgASAAAAAAC2gIo/+H/4gL5AkYDRwUoA/wAAgAAAEgASAAAAAAC2AIoAAEAAABkAAAAA
........<SNIP>.....
......
objectClass: person