On Mon, Aug 05, 2024 at 03:42:48PM -0000, thierryblaise@hotmail.com wrote:
Thanks, and sorry for the rookie mistake. I'm still eager to understand if EQUALITY in cunjunction of ORDERING is a specificity of OpenLDAP or an RFC/documented thing, if you have 2 more minutes ?
A 2-minute search didn't find a direct RFC reference but this part of RFC4512 (https://datatracker.ietf.org/doc/html/rfc4512#section-2.5.1) does make it seem that ORDERING would be pretty useless without an EQUALITY rule:
If no equality matching is specified for the attribute type: [...] - attribute value assertions (such as matching in search filters and comparisons) using values of such a type cannot be performed.
I'd say that without inequality (</<=/...) assertions, the ORDERING rule is pretty meaningless? Someone might be able to find a more explicit reference but this alone would have been enough for me.
Regards,