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

Re: Newbie - error in Slapd.conf



Try taking out the line "index default none". When you specify just the attribute name and
not an index type you get the default index. But then you specify no default index.


On Monday, June 16, 2003, at 07:11 AM, 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