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

Re: [?] Filter Question

Walter Vendraminetto writes:
> Does anyone knows why it happens that when I issue the command:
> ldapsearch -x "(&(uidNumber>=1000)(uidNUmber<2000))"
> no entry is returned,

Because the definition of uidNumber does not include an ordering
matching rule.  If you want the above to work, you must modify
its definition in etc/openldap/schema/nis.schema to include

    ORDERING integerOrderingMatch

A more correct solution is to define your own attribute type and object
class and use those instead of uidNumber and posixAccount, though.