[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: newbie question
Hi,
On Monday 10 February 2003 21:33, malfet@gw.mipt.sw.ru wrote:
> Does slapd support Greater-or-Equal and Lesser-or-Equal filters?
> If so, please send me example of this filter.
> I tried following search
> ldapsearch -x "uidNumber>200"
> but receives nothing, meanwhile I have a lot of users with uid greater then
> 200
IIRC it does so in 2.1.x versions.
But it can only do what you ask for: >= and <=
It cannot do > or < since the LDAP protocol does not support these.
To get the effect of > simply use the mathematical equivalent:
(&(>=)(!(=)))
For <, analogy holds.
Peter
--
Peter Marschall | eMail: peter.marschall@mayn.de
Scheffelstraße 15 | peter.marschall@adpm.de
D-97072 Würzburg | Tel: +49 931 14721
PGP: 0BB1 04A3 0FB0 E27F 8018 52BA A286 7B23 9C22 2C83