[Date Prev][Date Next]
Re: Greater-equal/Less-than-equal comparisons
"Brent J. Nordquist" <firstname.lastname@example.org> writes:
> On Thu, 9 Oct 2003, Dieter Kluenter <email@example.com> wrote:
>> sn and uidNumber have no ordering rule but a substring matching rule.
> Thanks for the response! I'm not sure I understand precisely what you
> Do you mean I could add an ORDERING rule (I didn't realize there was such
> a thing) to the schema and it would start to work? If so, do I need any
> special kind of index in slapd.conf to support that?
> Or do you mean that the types that sn and uidNumber are based on
> (126.96.36.199.4.1.14188.8.131.52.15 and .27, it looks like) cannot do ordering
> in OpenLDAP and I'm out of luck?
No, you cannot add a rule to a standard track schema, but you could
create your own schema. As the syntax of 'sn' is 'directory string',
an ordering rule of 'caseExactOrderingMatch' could be applied.
The syntax of 'uidNumber' is 'integer', an ordering rule of
'numericStringOrderingMatch' could be applied.
But frankly, I'm not shure, wether OpenLDAP supports any
Further information in rfc 2252, in particular chapter 8.2 Matching
Rules used in Inequality Filters.
Dieter Kluenter | Systemberatung
Tel:040.64861967 | Fax: 040.64891521