Quanah Gibson-Mount wrote:
--On Monday, December 10, 2012 8:59 AM +0700 Victor Sudakov vas@mpeks.tomsk.su wrote:
Michael Str?der wrote:
Michael Str?der wrote:
"Be liberal in what you receive and conservative in what you send" is a good old rule.
If you change the subschema subentry you change something sent to the client.
I still don't understand what's so bad about being able to request the ordering of the 'cn' attribute.
Actually the client could request that.
The client does request that, it seems, but OpenLDAP produces an error. It requests a SortKeyList control on the attribute 'cn'. But OpenLDAP returns an error.
No, it is not requesting it. You can request the rule you want as part of the filter. See http://www.openldap.org/software/man.cgi?query=slapcat&apropos=0&sektion=0&manpath=OpenLDAP+2.4-Release&format=html for an example of a filter that specifies the matching rule in a filter.
In this case 'orderingRule' in the SSS request control has to be set. The search filter is not relevant here.
Ciao, Michael.