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

Re: Newbie - error in Slapd.conf



I believe you need to tell it what to do with those attributes:

e.g. "index cn,sn,uid pres,eq"

I also have my 'default' index directive before all my other index
directives.

On Mon, 2003-06-16 at 08:11, sam wun wrote:
> Dear all,
> 
> I installed OpenLdap 2.1.xx in Redhat Linux, but cannot start slapd with 
> the following err msg:
> 
> [root@redhat ~]# /usr/local/libexec/slapd
> /usr/local/etc/openldap/slapd.conf: line 66: no indexes selected
> 
> The offending line in slapd.conf is:
> 
> # ldbm indexed attribute definitions
> index cn,sn,uid  
> 
> and the rest of the content of slapd.conf is as follow:
> index objectclass pres,eq
> index default none
> # ldbm access control definitions
> defaultaccess read
> access to attr=userpassword
> by self write
> by dn="cn=admin, o=rock, c=com" write
> by * compare
> 
> I compiled Openldap with ldbm enabled. what can I do to fix the problem?
> 
> thanks so much.
> Sam
-- 
Jason L W Lynn <jlwlynn@uab.edu>