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

Re: Ldapsearch with greater or equal


You've got an EQUALITY, no ORDERING.  Check out the OpenLDAP Admin Guide
section 8.2.4 for a very brief description...

attributetype ( NAME 'pwdLastSet'
        DESC 'NT pwdLastSet'
        EQUALITY caseIgnoreIA5Match
        SYNTAX{8} )

EQUALITY basicly only offers equal testing.  
ORDERING would make it possible to make <= queries...

Hope this helps,


On Fri, 2003-04-04 at 11:26, Uwe Jans wrote:
> Hi,
> I tried to use a "greater or equal" search. The search with only equal 
> works the following search doesnt work and gives no results.
> $ ldapsearch -x  -h fg.hs-bremen.de -b 'dc=hs-bremen,dc=de' 
> 'pwdLastSet>=1037606164' -LLL
> Can somebody give me a hint?
> Uwe Jans
> I use Openldap openldap2-2.0.23 from Debian Woody.
Raf Meeusen <Raf.Meeusen@wooble.BE>