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

numerical rather than lexicographical comparisons with <= and >= filters?



is there a way (I'm currently running openldap 1.2.6) to have searches
with filters such as (spy<=21) sort numerically rather than
lexicographically? (spy = 'sneezes per year', of course!)

In other words, I don't want to get a list back that looks like:
spy=19, spy=21, spy=182, spy=207, spy=1945, spy=205761
'cause I'm looking for:
spy=4, spy=8, spy=19, spy=21

There doesn't seem to be an int attribute avaliable for slapd.at.conf,
what can I do?

(would it be pushing my luck to want to sort floating point numbers too?)


-- Jonathan