Error 12 on sorted queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20071010/4e9b65a2/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux