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

Re: Error: "no indexes selected"



At 01:45 PM 9/20/00 +0300, Oguz YILMAZ wrote:
>Hi,
>
>I have upgraded from openldap.1.2.11 to openldap 2.0.3.
>Should I do some changes in the slapd.conf for the "index" section?
>The following index definitons work for 1.2.11.
>(
>(index cn,sn,uid
>(index objectclass pres,eq
>(index default none
>(
>
>However with 2.0.3, I get the error: 
>
>(/usr/local/etc/openldap/slapd.conf: line 58: no indexes selected
>
>My whole slapd.conf file is below.
>What is wrong?

The index directive has changed.  See slapd.conf(5) for details.

index cn,sn,uid pres,eq,sub
index objectclass eq

(note: maintaining a pres index on objectclass is quite pointless)