> 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.
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?