[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) (

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 ( NAME 'telephoneNumber'
           EQUALITY telephoneNumberMatch
           SUBSTR telephoneNumberSubstringsMatch
           SYNTAX{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