[Date Prev][Date Next] [Chronological] [Thread] [Top]

jpegPhoto on OpenLDAP 2.0.27



Has anyone gotten an entry with a jpegPhoto attribute to ldap_add with an ldif file on OpenLDAP 2.0.27?

I'm struggling to get it to work with the following ldif file:

dn: cn=Jennifer J Jensen,dc=example,dc=com
changetype: add
objectClass: top
objectClass: inetOrgPerson
cn: Jennifer J Jensen
sn: Jensen
jpegPhoto:< file:///tmp/foo.jpeg

I've tried one, two, and three slashes in my "file://" string. I've also tried base64-encoding the file and putting the stream right there with the "::" instead of "< file://...". And, I even tried naming the photo ".jpg" and ".jpeg". Stumped now. Ideas?

Failing that, does anyone know of a good LDAP client that will let me add jpegPhoto attributes to entries?

--Dave