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

Problem adding jpegphoto



Hi All,

openldap-2.0.18
---------------

Command:
-------

/usr/local/bin/ldapmodify -x -c -D "cn=Admin,o=xxxxx xxxxx xxxxx,c=au" -w xxxxx -h xxxxx.xxxxx.xxxxx.edu.au -f
my_ldif_file

ldif file:
---------

dn: cn="Jie Gao",ou=XXXX,o=XXXX XXXX XXXX,c=au
changetype: modify
delete: jpegPhoto
-
replace: jpegPhoto
jpegPhoto: < file:///jiegao/public-html/jiegao.jpeg
          ^
           Without this space, I get:

Using ldif file my_ldif_file.ldif...
modifying entry "cn="Jie Gao",ou=xxxxx,o=xxxxx xxxxx xxxxx,c=au"
ldap_modify: Can't contact LDAP server

ldif_record() = 81

With the space, it does add the photo, but Communicator 4.75 cannot display the photo.
The location info from the browser says: data:image/jpeg;base64,PCVmaWx.......

Regards,



Jie