Article View: fj.net.ldap
Article #400Re: Can't search database
From: Tenacious
Date: Wed, 16 Jun 1999 00:00
Date: Wed, 16 Jun 1999 00:00
31 lines
1841 bytes
1841 bytes
Ron Jarrell <jarrell@babylon5.cc.vt.edu> wrote in message news:7k6ddb$5pm$1@solaris.cc.vt.edu... > Tenacious <tmind@bigfoot.com> wrote: > > Hi > > > I download the ldap-3.3 port from FreeBSD.org. I do a make and make install and everthing go well. Edit the slapd.conf and create a databasefile. Do a "./ldif2ldbm -i databasefile" and "./slapd". Now when I run "./ldapsearch -h 127.0.0.1 'objectclass=*'" give me nothing and the CUP keeping very high. However, if I use ldbmtest, I can find all my database. What I did wrong or I need to do something else? On my server, I turn some program off in inetd.conf such as finger. Is it alright? > Thank you. I finally get it to work. > > Is objectclass indexed for wildcards? It is interested. Could you tell me how you can do this? >If not, you're essentially > doing a linear search of the database, hunting for objectclass records. > > Indexing is an underrated, and important, ldap black art. Making > a bad guess about user lookup habits can lead to abysmal lookup > performance. Even then weird hashing problams can bite you in the > butt. >
Technical Details
Message-ID:
<7k8dm3$t4p$1@newsmaster.pathcom.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7jmi24$8v2$1@newsmaster.pathcom.com> <7k6ddb$5pm$1@solaris.cc.vt.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103627,e2d0fb31a4b56581 X-Google-Attributes: gid103627,public From: "Tenacious" <tmind@bigfoot.com> Subject: Re: Can't search database Date: 1999/06/16 Message-ID: <7k8dm3$t4p$1@newsmaster.pathcom.com> X-Deja-AN: 490277076 References: <7jmi24$8v2$1@newsmaster.pathcom.com> <7k6ddb$5pm$1@solaris.cc.vt.edu> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@pathcom.com X-Trace: newsmaster.pathcom.com 929544707 29849 209.250.138.200 (16 Jun 1999 14:51:47 GMT) Organization: Pathway Communications X-MSMail-Priority: Normal NNTP-Posting-Date: 16 Jun 1999 14:51:47 GMT Newsgroups: fj.net.ldap