[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Implementing a range search on integers in OpenLDAP
A project I am working on has a requirement to be able to select records
based upon a integer range.
Something like a using a search filter like:
"(& ( integerAtt >= 123) ( intergerAtt <= 321))"
where integerAtt is defined like:
attributetype ( <oid> NAME 'integerAtt'
EQUALITY integerMatch
ORDERING integerOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27)
Does this look right?
In the schema_init.c file there is a comment:
/*
* Other matching rules in X.520 that we do not use (yet):
*
* 2.5.13.9 numericStringOrderingMatch
* 2.5.13.15 integerOrderingMatch
....
I am wondering if anyone is currently working on supporting the
integerOrderingMatch matching rule?
Or, does anyone have some idea of what would be involved in doing this..? I
am looking at tasking a c programmer to do this in the near future...
Wayne Browne
--------------------------------------------------------------------
Wayne Browne
Socialchange online
wbrowne@socialchange.net.au
Ph: 02 6262 9980
Fax: 02 6262 9950