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

Re: Ldapsearch with greater or equal



Uwe,

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

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


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

Hope this helps,

Raf


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>