Re: big searches dont return anything

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

 



Le lundi 08 jan 2007 17:58, Richard Megginson a écrit :
> Stéphane Konstantaropoulos wrote:
> > Hello,
> >
> > I am moving our old Sun One setup to Fedora Directory server and I am
> > pretty impressed.
> >
> > Just one thing does not work: searches that find a lot of entries:
> >
> > e.g. if I search for "smith", nothing comes back, no error either (from
> > the console). I have around 10 000 users, so I'd say there are a lot of
> > Smith's since this is London...
> >
> > However, if I make the search more precise, like "John Smith", it returns
> > the results.
> >
> > It must have something to do with search limits, I tried a couple of
> > things in the console but no result at all.
> >
> > I think I remember a param called "admin limit" but I cannot find it in
> > the console. I tuned "lookthrough limit" and "size limit" with no luck.
>
> http://www.redhat.com/docs/manuals/dir-server/pdf/ds71cli.pdf
> Look for nsslapd-sizelimit, nsslapd-timelimit, and nsslapd-lookthroughlimit
>
> Also, please post the RESULT line from the access log for these searches
> which do not return results.
>


OK,

here is a search log, for a search that does not return anything:

[09/Jan/2007:11:08:15 +0000] conn=914 op=7 SRCH base="o=sghms.ac.uk" scope=2 
filter="(|(&(objectClass=person)(cn=*smith*))(&(objectClass=person)
(uid=smith)))" attrs=ALL
[09/Jan/2007:11:08:15 +0000] conn=914 op=7 RESULT err=0 tag=101 nentries=0 
etime=0

seems to be no error at all.

size limit is set to 10000, time limit to 3600 and lookthrough to 20000 (is 
that  right? it's on the LDBM plug-in settings).

Does this make sense to anybody?

-- 
Stéphane Konstantaropoulos <skonstant@xxxxxxxxxx>
-- Web Developer - Computing Services
--- St George's University of London

Attachment: pgpgRNJdJNrtD.pgp
Description: PGP signature

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

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux