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

Re: Problem with 2.0.7



Hi Thomas,
> There is a problem with the ldap command line utilities I thinks so.
> When I try to add picture --> jpegPhoto then I cant get him work
> to tranfser the picture in Base64.
> With the Openldap 1.2.11 there is no problem when using option -b.
> But the isnt such an option for version 2.0.7

OpenLDAP 2.0.x uses LDIF as defined in rfc2849. To add a value from a
file (say /tmp/someone.jpg) use 

dn: cn=someone,dc=example,dc=com
changetype: modify
add: jpegPhoto
jpegPhoto:<file:///tmp/someone.jpg

-- 
Norbert Klasen
DFN Directory Services                           tel: +49 7071 29 70335
ZDV, Universität Tübingen                        fax: +49 7071 29 5912
Wächterstr. 76, 72074 Tübingen              http://www.directory.dfn.de
Germany                             norbert.klasen@zdv.uni-tuebingen.de