Clément OUDOT wrote:
Hello, I noticed that with OpenLDAP 2.4.30, a search request with a non criticical sss control on an attribute without ordering matching rule returns an error: clement@ader:~/Programmes/openldap$ bin/ldapsearch -H ldap://localhost:3389 -D ou=lsc,ou=accounts,ou=XXX -w secret -b ou=people,ou=XXX -E sss=cn # extended LDIF # # LDAPv3 # with server side sorting control # # search result search: 2 result: 18 Inappropriate matching text: serverSort control: No ordering rule # numResponses: 1 Before, the error was only returned if the control was set to critical.
Looking back thru git, I see nothing to support this statement.
This was discussed in this ITS: http://www.openldap.org/its/index.cgi/Software%20Bugs?id=6647 Is this behavior change intentional or is this a side effect of of recent commit?
Please give the version number where you last saw it behaving as you describe. I'm not seeing it.
It looks to me like the current behavior is wrong; you should file an ITS. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/