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

search relult empty after adding indexes (repost)



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