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

Re: Migration from 2.0.x -> 2.2.x, schema change



Hi,

Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> writes:

> I'm trying to migrate from OpenLDAP 2.0.23 to 2.2.26 on Debian
> (oldstable to stable).
>
> Using the max.schema below gives me:
> /etc/ldap/schema/max.schema: line 11: AttributeType inappropriate matching rule: "caseExactMatch"

[...]
> attributetype  ( 1.3.6.1.4.1.192.6.1.3.2.4 NAME 'maxMailboxServer'
>       EQUALITY caseExactMatch
>       SUBSTR caseExactIA5Match
>       SYNTAX '1.3.6.1.4.1.1466.115.121.1.26' )

[...]
>
> Line 11 is "SYNTAX '1.3.6.1.4.1.1466.115.121.1.26' )" in the
> maxMailboxServer attribute definition. What do I need to change in
> order to make slad accept this schema?

Your syntax is IA5String, not directory string, thus equality has to
be caseExactIA5Match and Substring matching has to be
caseExactIA5SubstringsMatch. 

-Dieter

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