Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't search database

0 views
Skip to first unread message

Ron Jarrell

unread,
Jun 15, 1999, 3:00:00 AM6/15/99
to
Tenacious <tm...@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?


Is objectclass indexed for wildcards? 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.


Tenacious

unread,
Jun 16, 1999, 3:00:00 AM6/16/99
to

Ron Jarrell <jar...@babylon5.cc.vt.edu> wrote in message
news:7k6ddb$5pm$1...@solaris.cc.vt.edu...

> Tenacious <tm...@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?

0 new messages