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

Re: Problem while inserting binary data....



ashish mahamuni <ashitpro@yahoo.co.in> writes:

> --- On Sat, 28/6/08, Dieter Kluenter <dieter@dkluenter.de> wrote:
>
>> From: Dieter Kluenter <dieter@dkluenter.de>
>> Subject: Re: Problem while inserting binary data....
>> To: openldap-technical@openldap.org
>> Date: Saturday, 28 June, 2008, 1:03 PM
>> ashish mahamuni <ashitpro@yahoo.co.in> writes:
>> 
>> > I've define my own schema(couple of classes and
>> attributes)....
>> > it looks like below...
>> >
>> ---------------------------------------------------------------
>> >
>> > attributetype ( 2.5.4.73
>> >         NAME 'epType'
>> >         SUP name )
>> >
>> > attributetype ( 2.5.4.74
>> >         NAME 'agencyIcon'
>> >         SUP jpegPhoto )
>> >
>> [...]
>> >
>> > I want to store icon file in agencyIcon attribute...
>> > So I added below line for agencyIcon in ldif file

[...]
> I also tried using following syntax for my attribute, instead of inheriting from jpegPhoto....But I got same error...
>
> SYNTAX 1.3.6.1.4.1.1466.115.121.1.5
>
> Is this syntax right for my attribute?

binary syntax is obsolete, see rfc-4522

Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6