[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
search relult empty after adding indexes (repost)
- To: openldap-software@OpenLDAP.org
- Subject: search relult empty after adding indexes (repost)
- From: prune <prune@lecentre.net>
- Date: Mon, 04 Feb 2002 20:24:11 +0100
- Organization: leCentre
- 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,
--------> any clue ?
Prune