bts2ldap-Gateway: debbugsDate match doesn't work
Hi folks!
Today i've played around with the bts2ldap gateway to generate a by date
ordered bug-list for myself. But it seems that there's a bug in Andreas
Barth's debian-bts.schema... every query to match a date fails.
ldapsearch -h bugs.debian.org -p 10101 -x -b ... 'debbugsDate=1080887582'
(date of #241637. greaterOrEqual and lessOrEqual filters fails, too.)
This is the debian-bts.schema attribute definition for debbugsDate:
attributetype (1.3.6.1.4.1.12771.5.1.3
NAME 'debbugsDate'
DESC 'submission date of the bug'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE )
In RFC2252 is defined that the format of generalizedTime is 200401011032Z.
The current database contains debbugsDates in seconds since epoch. Maybe
the 200401011032Z format is more appropriate and the debbugsDates must
converted?
Regards,
Sebastian
Reply to: