[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Server-Side Sort Overlay ordering problems
- To: openldap-technical@openldap.org
- Subject: Re: Server-Side Sort Overlay ordering problems
- From: Edward Capriolo <edlinuxguru@gmail.com>
- Date: Fri, 15 Jan 2010 12:06:49 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NYWReMmuitATFKYFcDrsJO4QNwAfcvHyxlnmS6Wt3B4=; b=RDhB4IHA2nr/N0IrPbOwUwi+NMJoUOS3Wg1kay2828H3Dc06qk2sYN4vg1J8X/ypcZ DwYVRcV2+YfN1Me3s0nYgGqArLzMuKrqKAG4Q2sWfETYbbt70ERm4bjOI2Dcvu5chtrT HxuBmFxzYfxsJdqRBW5b1OiQT1YyUg8RjoRgE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Syp6NYcTFg/FKuMZOlObWxEJpMbyxQW0DmXo4muDrGrCEaYJ4MgWNkV+iX8fVcC/DB AuvImVLuqElpB2OoaFdCmWzgW8qqt+iHx2vIWTHB3kgVmiusi2BYPl9w3GHyaYIDebkV GF+vWQu1A/HILyhZ3UEs34V/f5hxh5Ob3pnno=
- In-reply-to: <947ae3441001150527w34b31c3y6fab1358f041dd49@mail.gmail.com>
- References: <947ae3441001150527w34b31c3y6fab1358f041dd49@mail.gmail.com>
Diego,
You and I have the same issue. UID and CN are not in the schema they
are compiled into LDAP some how, so there is no way to apply an
ordering rule. I can not find if this is possible, or what is involved
in making it happen.
As you can see uid is commented in the schema file as is cn
#attributetype ( 0.9.2342.19200300.100.1.1
# NAME ( 'uid' 'userid' )
# DESC 'RFC1274: user identifier'
# EQUALITY caseIgnoreMatch
# SUBSTR caseIgnoreSubstringsMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
In the past this was possible, or the attributes had an ordering. I do
not know when this changed.
On Fri, Jan 15, 2010 at 8:27 AM, Diego Lima <lists@diegolima.org> wrote:
> Hello,
> I have enabled the server-side sorting overlay and I received the following
> error on a search:
> sssvlv: no ordering rule specified and no default ordering rule for
> attribute uid
> <= get_ctrls: n=1 rc=18 err="serverSort control: No ordering rule"
> send_ldap_result: conn=1000 op=7 p=3
> send_ldap_response: msgid=8 tag=101 err=18
> ber_flush2: 50 bytes to sd 13
> ldap_write: want=50, written=50
> 0000: 30 30 02 01 08 65 2b 0a 01 12 04 00 04 24 73 65 00...e+......$se
>
> 0010: 72 76 65 72 53 6f 72 74 20 63 6f 6e 74 72 6f 6c rverSort control
>
> 0020: 3a 20 4e 6f 20 6f 72 64 65 72 69 6e 67 20 72 75 : No ordering ru
>
> 0030: 6c 65 le
>
> conn=1000 op=7 do_search: get_ctrls failed
> Where should I specify the ordering rule for the uid attribute? The core
> schema?
> Thank you
> --
> Diego Lima
>