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

Re: 2.0 & schema



At 03:25 PM 10/10/00 +0500, Dmitry Melekhov wrote:
>"Kurt D. Zeilenga" wrote:
>
>> At 09:02 AM 10/10/00 +0500, Dmitry Melekhov wrote:
>> >"Kurt D. Zeilenga" wrote:
>> >
>> >> At 04:15 PM 10/9/00 +0500, Dmitry Melekhov wrote:
>> >> >OK, thank you!
>> >> >
>> >> >I write schemacheck off in slapd.conf
>> >> >
>> >> >But I still get message -
>> >> >
>> >> >can't parse entry ( line=50 )
>> >>
>> >> This error is produced by slapadd when the LDIF
>> >> input cannot be parsed.  Your file like contains
>> >> garbage characters (at or near line 50) which are
>> >> confusing slapadd.
>> >>
>> >
>> >Hmm.
>> >I don' see any garbage.
>> >More over, this ldif produced from openldap 1.2.9 server
>> >and it works with this info.
>> >I attach first 60 lines of ldif.
>> >Could you look into it and tell me what is wrong, please!
>>
>> I missed the obvious... the input included undefined attribute
>> types.  Run slapadd with -d 1 for details.  To resolve, include
>> nis.schema (and dependencies) in slapd.conf.
>>
>
>Shure. It works with NIS schema.
>But I want to turn schema off!
>And I wrote this in config file- no result!!! :(

As noted numerous times in the archives, 'schemacheck off'
disables the object class required/allowed test.  It has
ZERO affect upon attribute type checks.  In OpenLDAP 2.0,
all attribute types used must be properly defined.