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

Re: what happend to labeledURI?



Tony Earnshaw <tonye@billy.demon.nl> writes:

> søn, 20.06.2004 kl. 10.08 skrev Dieter Kluenter:
>
>> I just wanted to slapcat my database and got this error
>> 
>> ,----[ slapcat error ]
>> | # slapcat -v -l /tmp/200604.ldif
>> | /usr/local/etc/openldap/schema/core.schema: line 523:\
>> |  AttributeType not found: "labeledURI"
>> | slapcat: bad configuration file!
>> `----
>> 
>> no ldif file is created, not even with flag -c
>> 
>> I know that attributetype labeledURI is commented out for ages, but
>> this error never occured to me.
>> OpenLDAP-2.2.13
>> core.schema,v 1.68.2.5 2004/04/15 01:41:49
>
> Me: 2.2.14, was 2.1.13.
>
> Hmmm ... this is not like you :)
>
> 1: Why has nobody else complained?
> 2: What happens if you go to line 520 in core.schema? Is
> labeledURIObject commented out?
> 3: What happens if you do 'strings /usr/local/libexec/slapd | grep -i
> labeleduri' (or wherever your slapd is)?

OK I gave not much information, so here a few more lines.
ldapURI is commented out in core.schema, as it should be.Only object
class 'labeledURIObject has a MAY clause for labeledURI. The above
metioned eror refers to this line.
I was just doing my weekly database backup and this error has never
shown up before, I only updated from 2.2.12 to 2.2.13 the other day,
that's why I'm a bit confused :-(
There is no 'labeledURI' string in my slapd.conf, and I have never
referred to slapd.conf.
>
> Core.schema has been "built in" to slapd for ages, together with
> labeledURI. The question is, "why does this happen to you and to no-one
> else?"

I'm quite aware that the attribute labeledURI is already hard wired in
schema_prep.c, and a few more attributes, therefore slapcat should be
aware of it, as it only is a symlink to slapd.
I have checked my system prior to my initial mail for an older version
of slapcat, but there is no older version in root's path, only a version
of cvs head, but this is not in anybodies path.

-Dieter

-- 
Dieter Klünter | Systemberatung
Tel.: +49.40.64861967
Fax : +49.40.64891521
http://www.avci.de