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

Re: ldap_search by a numerical value



At 12:17 AM 11/3/00 -0500, Stephen Soltesz wrote:
>I've been looking around trying to figure out whether or not it is possible 
>to search through an ldap database using a number's magnitude rather than as 
>a string.
>
>For instance is there a type for which a filter such as  
>(&(volsize>=100)(volsize<=400)) would not return 40.

If volsize's ordering matching rule is integerOrderingMatch,
then the filter would not match a value of 40.  However,
if it's numericStringOrderingMatch, then it would.

That is, integer != numericString.

>Is all processing in ldap string based?

No.

>Is there a nice way to search for ranges of numbers?

Use appropriate matching.

Kurt