[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7253) Error returned when sss control used with a non ordered attribute, even if the control is not critical
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#7253) Error returned when sss control used with a non ordered attribute, even if the control is not critical
- From: Kurt@OpenLDAP.org
- Date: Fri, 20 Apr 2012 13:01:40 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
On Apr 20, 2012, at 5:17 AM, coudot@linagora.com wrote:
> Full_Name: Clément OUDOT
> Version: 2.4.30
> OS: GNU/Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (88.173.78.196)
>
>
> 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
>
> I think the error should only be returned if the control is critical. Else, the
> search results should be returned, not sorted.
Incorrect behavior per the standards. If the control is recognized and implemented, then it's to be processed regardless of the criticality. There's not supposed to be any "if it errors, ignore it" processing.
-- Kurt