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

Re: search with (uidNumber>=1900) got "text: inappropriate matching request"



> Hello. I am not quiet sure why a search with (uidNumber>=1900) got
> "text: inappropriate matching request".

Because uidNumber, according to its definition, does not have an ordering
matching rule.

>
> I've checked that uidNumber is mentioned and commented in nis.schema on
> my openldap-2.4.10 on Debian. Thus it should be a built-in attribute. It
> is of integerMatch
>
> Can you give some hint how to search for all users with uid greater than
> 1900? Thanks!

Programmatically.  E.g. search for '(uidNumber=*)' and discard results
that do not match your rule.

p.