[Date Prev][Date Next]
Help with an integer search?
- To: <openldap-software@OpenLDAP.org>
- Subject: Help with an integer search?
- From: "Austin Conger (IT)" <ACONGER@bordersgroupinc.com>
- Date: Thu, 7 Nov 2002 13:57:50 -0500
- Content-class: urn:content-classes:message
- Thread-index: AcKGj6Y/I5xQYi34SOycAXPCrJmnjg==
- Thread-topic: Help with an integer search?
For days, I have
been trying to understand how to do a search based on an integer
Initially I thought
doing this search filter (itemnumber<=12) and having my attribute defined as
such in my schema file would do it.
attributetype ( 126.96.36.199.4.1.149188.8.131.52.2 NAME
DESC 'number for item
Then I find later
that its actually stored as a decimal representation.
( 184.108.40.206.4.1.14220.127.116.11.27 DESC 'INTEGER' )
Values in this syntax are encoded as the decimal representation of
their values, with each decimal digit represented by the its
character equivalent. So the number 1321 is represented by the
character string "1321".
I gues I am alittle
confused as to how I perform such an integer search? Is this
I am running
OpenLDAP 2.1.5 on Solaris 8 with BerkeleyDB 4.1