[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(Dumb?) X-ORDERED 'VALUES' question
- To: OpenLDAP Devel <openldap-devel@openldap.org>
- Subject: (Dumb?) X-ORDERED 'VALUES' question
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Fri, 24 Aug 2007 17:03:25 +0200
- User-agent: Thunderbird 1.5.0.8 (X11/20061025)
I'm implementing the Control syntax in draft-chu-ldap-logschema, which
is used for the reqControls and reqRespControls as X-ORDERED 'VALUES',
and I'm having a little bit of trouble in understanding how I should
encode values. Right now, I'm putting the DER encoded controls in the
pretty values, and the control OID in the normalized values as per the
objectIdentifierFirstComponentMatch equality matching rule. However,
it's not clear whether I should put the ordering prefix in either value.
If I do, matching fails because test_filter() ignores the fact that an
attribute may be ordered; in fact, it uses value_match() instead of
ordered_value_match(). I suspect this is a bug, but I might be missing
something __really__ obvious...
p.
Ing. Pierangelo Masarati
OpenLDAP Core Team
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office: +39 02 23998309
Mobile: +39 333 4963172
Email: pierangelo.masarati@sys-net.it
---------------------------------------