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

Equality index of attribute disallowed (ITS#930)



Full_Name: Jim Dutton
Version: 2.0.7
OS: Solaris-2.8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (131.230.6.141)


Attempting to start up SLAPD results in the following message:

   /usr/local/etc/openldap/slapd.conf: line 71: equality index of
      attribute "telephoneNumber" disallowed

using the following SLAPD.CONF definition (including CORE.SCHEMA)

   index telephoneNumber pres,eq,sub

yet CORE.SCHEMA defined telephoneNumber as

   attributetype ( 2.5.4.20 NAME 'telephoneNumber'
           EQUALITY telephoneNumberMatch
           SUBSTR telephoneNumberSubstringsMatch
           SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} )

and SCHEMA.INIT.C has defined "telephoneNumberMatch" as

   /* recycled matching routines */
   #define bitStringMatch                                  octetStringMatch
   #define integerMatch                                    caseIgnoreIA5Match
   #define numericStringMatch                              caseIgnoreMatch
   #define objectIdentifierMatch                   numericStringMatch
   #define telephoneNumberMatch                    numericStringMatch

while the Supported Matching Rules table specifies

   numericStringMatch	equality	numerical