Re: big searches dont return anything

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

 



Stéphane Konstantaropoulos wrote:
Le mardi 09 jan 2007 18:50, David Boreham a écrit :
Stéphane Konstantaropoulos wrote:
[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?
Not yet. Can you post a successful search and an example of one of the
entries returned ?
The above log seems to indicate that there really are no target entries
in the database,
but there could be other explainations such as ACL preventing their
access, database corrupt, etc.

Here you go, I first search on "k", then "ko", then "kon", then "kons" returns results.

Yes, i think my db may be a bit funny, I just deleted all the indexes and tried re-creating them, no change tho still. I set timelimit, sizelimit and lookthrough limit to -1, so as to have no limit at all now.

[10/Jan/2007:13:24:26 +0000] conn=24 op=62 SRCH base="o=sghms.ac.uk,o=sghms.ac.uk" scope=2 filter="(|(&(objectClass=person)
(cn=*k*))(&(objectClass=person)(uid=k)))" attrs=ALL
[10/Jan/2007:13:24:26 +0000] conn=24 op=62 RESULT err=0 tag=101 nentries=0 etime=0
[10/Jan/2007:13:24:29 +0000] conn=24 op=64 SRCH base="" scope=0 filter="(|
(objectClass=*)(objectClass=ldapsubentry))" attrs="nsBackendSuffix"
[10/Jan/2007:13:24:29 +0000] conn=24 op=64 RESULT err=0 tag=101 nentries=1 etime=0 [10/Jan/2007:13:24:29 +0000] conn=24 op=65 SRCH base="cn=userRoot,cn=ldbm database, cn=plugins, cn=config" scope=1 filter="(objectClass=vlvSearch)" attrs=ALL [10/Jan/2007:13:24:29 +0000] conn=24 op=65 RESULT err=0 tag=101 nentries=4 etime=0 [10/Jan/2007:13:24:29 +0000] conn=24 op=66 SRCH base="o=sghms.ac.uk,o=sghms.ac.uk" scope=2 filter="(|(&(objectClass=person)
(cn=*kon*))(&(objectClass=person)(uid=kon)))" attrs=ALL
[10/Jan/2007:13:24:29 +0000] conn=24 op=66 RESULT err=0 tag=101 nentries=0 etime=0
Hmm - no unindexed notes in the results. Do you know how many entries match *kon*? How many match *kons*?
[10/Jan/2007:13:24:31 +0000] conn=24 op=67 SRCH base="" scope=0 filter="(|
(objectClass=*)(objectClass=ldapsubentry))" attrs="nsBackendSuffix"
[10/Jan/2007:13:24:31 +0000] conn=24 op=67 RESULT err=0 tag=101 nentries=1 etime=0 [10/Jan/2007:13:24:31 +0000] conn=24 op=68 SRCH base="cn=userRoot,cn=ldbm database, cn=plugins, cn=config" scope=1 filter="(objectClass=vlvSearch)" attrs=ALL [10/Jan/2007:13:24:31 +0000] conn=24 op=68 RESULT err=0 tag=101 nentries=4 etime=0 [10/Jan/2007:13:24:31 +0000] conn=24 op=69 SRCH base="o=sghms.ac.uk,o=sghms.ac.uk" scope=2 filter="(|(&(objectClass=person)
(cn=*kons*))(&(objectClass=person)(uid=kons)))" attrs=ALL
[10/Jan/2007:13:24:31 +0000] conn=24 op=69 RESULT err=0 tag=101 nentries=4 etime=0


------------------------------------------------------------------------

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

Attachment: smime.p7s
Description: S/MIME Cryptographic 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