[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-directory-users
Subject:    Re: [Fedora-directory-users] Error 12 on sorted queries
From:       Richard Megginson <rmeggins () redhat ! com>
Date:       2007-10-10 19:01:43
Message-ID: 470D2197.8080806 () redhat ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Scott Lacy wrote:
> I'm still a little new at this, so hopefully this isn't a FAQ 
> question, but I am having issues with sorted queries.  Single-user 
> queries, and queries without sorts seem to go fine, but I get error 12 
> (unavailable critical extension) trying to do sorted queries, and 
> returns zero results when it should return five.
>
> Log is below.  Any idea?  This is probably something I have to set up 
> somewhere, but I can't find anything in Google...
You need to have an equality index for each attribute you want to sort 
on.  In this case, you need to have an equality index for sn and givenName.
>
> [10/Oct/2007:14:16:12 -0400] conn=49 fd=86 slot=86 connection from 
> a.b.c.d to e.f.g.h
> [10/Oct/2007:14:16:12 -0400] conn=49 op=0 BIND dn="" method=128 version=3
> [10/Oct/2007:14:16:12 -0400] conn=49 op=0 RESULT err=0 tag=97 
> nentries=0 etime=0 dn=""
> [10/Oct/2007:14:16:12 -0400] conn=49 op=1 SRCH base="o=Mercer 
> University" scope=2 filter="(&(departmentNumber=Art)(school=College of 
> Liberal Arts))" attrs="a bunch of attributes here...."
> [10/Oct/2007:14:16:12 -0400] conn=49 op=1 SORT sn givenName (*)
> [10/Oct/2007:14:16:12 -0400] conn=49 op=1 RESULT err=12 tag=101 
> nentries=0 etime=0 notes=U
>
>
>
> Thanks,
>
> Scott
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users


["smime.p7s" (application/x-pkcs7-signature)]

--
Fedora-directory-users mailing list
Fedora-directory-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic