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

Re: postalAddress index? and recommendation





--On Friday, June 18, 2004 4:31 PM +0200 Hallvard B Furuseth <h.b.furuseth@usit.uio.no> wrote:

Daniel Henninger writes:
/local/ldap/etc/openldap/slapd.conf: line 105: approx index of attribute
"postalAddress" disallowed

Misleading error message. 'disallowed' should be 'not implemented'.

Hallvard,

I'm not sure that is quite right.  He said:

I've tried eq, sub, and approx indexes and they all give me:
/local/ldap/etc/openldap/slapd.conf: line 105: approx index of attribute
"postalAddress" disallowed

That would imply he tried all 3 of the indices seperately (I sent another email to get further clarification on that..).


The schema clearly says that "eq" and "sub" should be allowed.

attributetype ( 2.5.4.16 NAME 'postalAddress'
       DESC 'RFC2256: postal address'
       EQUALITY caseIgnoreListMatch
       SUBSTR caseIgnoreListSubstringsMatch
       SYNTAX 1.3.6.1.4.1.1466.115.121.1.41 )


So if he did:

index postalAddress eq
or
index postalAddress sub
or
index postalAddress eq,sub

(which is how his email reads)

and got that error, than that would be a bug.

--Quanah

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