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

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

--On Thursday, September 15, 2005 5:40 PM +0200 Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> wrote:

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"

--- snip ---
# MAX Schema

attributetype ( NAME 'maxUserDomain'
      EQUALITY caseIgnoreMatch
      SUBSTR caseIgnoreSubstringsMatch
      SYNTAX '' )
attributetype  ( NAME 'maxMailboxServer'
      EQUALITY caseExactMatch
      SUBSTR caseExactIA5Match
      SYNTAX '' )

I see two problems here:

1) You are using caseExactMatch on an IA5 string
2) You are using an "exact match" rule for substring searches

It should be:

attributetype  ( NAME 'maxMailboxServer'
      EQUALITY caseExactIA5Match
      SUBSTR caseExactIA5SubstringsMatch
      SYNTAX '' )


Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin