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

Problems with EQUALITY generalizedTimeMatch



Hello,

I defined the followings attributes:


attributetype ( 1.3.6.1.4.1.11048.1.1.1.4
        NAME 'vacationStart'
        SINGLE-VALUE
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
        DESC 'Beginning of vacation'
        EQUALITY generalizedTimeMatch )

attributetype ( 1.3.6.1.4.1.11048.1.1.1.5
        NAME 'vacationEnd'
        SINGLE-VALUE
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
        DESC 'End of vacation'
        EQUALITY generalizedTimeMatch )


The Database contains (among others) the following entry:


testlinux01:~/tmp # ldapsearch -x uid=thomas
# extended LDIF
#
# LDAPv3
# base <> with scope sub
# filter: uid=thomas
# requesting: ALL
#

# thomas, intern, people, schuechen
dn: uid=thomas,ou=intern,ou=people,o=schuechen
[...]
vacationEnd: 200402150000Z
vacationStart: 200402010000Z


The following search gives the correct result:

testlinux01:~/tmp # ldapsearch -x vacationStart=200402010000Z


I do not get any result with this search:

testlinux01:~/tmp # ldapsearch -x vacationStart>=200402010000Z

I didn't test much further, but have a few questions that someome may be
able to answer:

- Is the Syntax correct for a date/time Field ???
- Is the equality correct?

What else might be wrong?