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