[Date Prev][Date Next]
Re: Search Filters
the ordering filters (>=, <=) aren't implemented in OpenLDAP 2.0.x
IIRC, OpenLDAP 2.1 will support them.
I have no information about the =~filter.
On Friday 05 April 2002 17:22, you wrote:
> Thanks for the quick reply. Yes, I did screw up the filter in my
> original message; I had entered it correctly on the command line.
> I tried your suggestion, but apparently we don't use the dc attribute
> here (not sure why) because I got a "No such object (32)" message back.
> I'll kick this back to our systems guys and see what they say.
> On Fri, 2002-04-05 at 09:54, Geoff Silver wrote:
> > I'm still using the OpenLDAP 1.2 mainly (Debian Stable), but:
> > ldapsearch -L -b "dc=mydomain" "(&(sn>=a)(sn<=g))"
> > works. However, I do notice your search filter is trying for *less than*
> > a AND *greater than* g, which is impossible, I do believe. Perhaps you
> > want &(sn>=a)(sn<=g) ? (a to g)
> > --
> > Geoff Silver <geoff at uslinux dot net>
> > "If Bill Gates had a nickel for every time Windows crashed...
> > Oh wait, he does"
Peter Marschall | eMail: email@example.com
Scheffelstraße 15 | firstname.lastname@example.org
97072 Würzburg | Tel: 0931/14721
PGP: D7 FF 20 FE E6 6B 31 74 D1 10 88 E0 3C FE 28 35