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

Re: (ITS#5090) Error with attribute "jpegPhoto"



Howard Chu wrote:
> ando@sys-net.it wrote:
>> marg@rz.tu-clausthal.de wrote:
>>> Oh, and that special syntax is a function of ldapadd/ldapmodify, not
>>> some standard way of importing images - so using it with slapadd
>>> won't work.
> 
> Not true. Both slapadd and ldapadd use the same LDIF reading routines;
> they have since 2.3 was first released. All valid LDIF is accepted
> identically by both programs.
> 
>> well, that's a SHOULD in RFC2849, so it is indeed a standard way of
>> importing values (works with any value) using LDIF.  The fact it doesn't
>> work with slapadd should be seen as a limitation of that tool, which it
>> is not intended for use with arbitrary LDIF but rather with LDIF
>> produced by slapcat.
Well, I need to take both my claims back; I was writing

jpegPhoto: <file///...

while the right syntax (still with the missing ":") is

jpegPhoto:< file///...

and the error is still there in 2.3.  I'll fix it in a moment.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------