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

searching for >=




According to the RFC and the man pages one should be able to search for
a range of numbers using the ">=" and "<=" operators.  In my case, I
need to know the uidNumbers that are greater than 20000.  So I phrase my
search as:

ldapsearch -x "(&(uidNumber>=20000)(objectclass=*))" uid uidNumber

This query returns no entries even though I know that I have at least
600 uidNumbers above 20000.  I've tried as many variations on this
pattern as I can think of and still no entries found.

Anyone know what I'm doing wrong with this search string?

Thanks,

Mike