[Date Prev][Date Next] [Chronological] [Thread] [Top]

Indexing/Performance question



Hi - I just wanted to get a sanity check on the indexing statements I am
using in my slapd.conf file to make
sure they will really optimize performance.  For now, all the ldap server
will be doing is authenticating users
on Solaris 8 hosts, mostly via ssh.  When I've ran slapd at log level 32, it
looks like it is doing equality
matches when someone ssh's in who is an ldap user.

So here are the indexing statements I have now in my slapd.conf file:

index   objectClass	eq
index   cn		pres,eq

I took this from the O'Reilly LDAP System Administration book (page 54).  It
claims it will index the cn and
uid attributes.  I want uid indexed, and am thinking that the best things to
check for would be pres and eq.
But do I need both?  Would pres be enough?

What seems more intuitive to me would be to do this:

index	uid		pres,eq

But when I do that for some reason, authentication fails.  It's as if making
that index causes it to stop finding
users that are in the directory.

Any comments/suggestions would be greatly appreciated.
This electronic message transmission contains information from the Company that may be proprietary, confidential and/or privileged.
The information is intended only for the use of the individual(s) or entity named above.  If you are not the intended recipient, be
aware that any disclosure, copying or distribution or use of the contents of this information is prohibited.  If you have received
this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.