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

Re: (Dumb?) X-ORDERED 'VALUES' question



Pierangelo Masarati wrote:
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...

Yeah, sounds like a bug and we should change test_filter(). -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/