[Date Prev][Date Next]
Re: Problem with approx research and wildcards
xavier toto writes:
> it's ok, but when I use some wildcards I have an error like this:
> #ldapsearch (title~=toto*)
> ldapsearch: ldap_search_ext: Bad search filter (-7)
> I don't understand why.
Because the LDAP standard defines approximate and substring search are
two different filter types. Thus they do not mix. The closest you can
come is something like
which matches both titles that are approximately equal to "toto"
and titles which start with "toto".