I
I
Ivan2018-07-13 16:03:53
LDAP
Ivan, 2018-07-13 16:03:53

How to build an LDAP query between two values?

The pager attribute is filled with numbers from 1 to 10 thousand. How to build a filter so that there are objects with pager from 1 to 500?
Tried like this: (&(pager>=1)(pager<=500)). Finds everything. How can I fix the filter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LoGIc89, 2018-07-18
@LoGIc89

Try this:
(&(pager>0)(!(pager<500)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question