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
On Mon, 2003-06-16 at 08:11, sam wun wrote:
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
and the rest of the content of slapd.conf is as follow:
index objectclass pres,eq
index default none
# ldbm access control definitions
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.