[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#4922) test_filter problem on uid filter
juritanganelli@gmail.com writes:
> - when i use the complete value of the attribute such as uid=e497004
> no result is returned, but there is an entry with that value.
stop slapd, run sbin/slapindex, restart slapd, and tell us if that
helped.
Needed if you add the index to slapd.conf when you alreayd have a
database, since just editing slapd.conf does not index existing data.
> - when i use some regular expressions the result is correclty such as
> uid=e* the corresponding entry is correctly returned.
Substring, not a regular expression.
By default, a substring search with just a single letter does not use
indexes, it just trawls through each entry in scope.
--
Regards,
Hallvard