[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
search relult empty after adding indexes
- To: openldap-software@OpenLDAP.org
- Subject: search relult empty after adding indexes
- From: Prune <Prune@lecentre.net>
- Date: Sun, 03 Feb 2002 02:55:16 +0100
- Organization: le Centre
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1
Hi,
I just add some indexes to my slapd.conf :
# Indices to maintain
index objectClass pres,eq
index uid,mail pres,eq,sub
index cn,sn pres,eq,sub,subany
and run slapindex and restart the ldap server.
Now when I do a search, it returns nothing :
begin get_filter
EQUALITY
end get_filter 0
conn=0 op=2 SRCH base="dc=lecentre,dc=net" scope=2
filter="(mail=toto@copain2000.com)"
AND
DN SUBTREE
OR
EQUALITY
EQUALITY
EQUALITY
ber_flush: 14 bytes to sd 9
conn=0 op=2 SEARCH RESULT tag=101 err=0 text=
When I erase the 'mail' attribute from the second index, everything goes
well.
why ?
Cheers,
Prune