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

Re: Optimizing OpenLDAP pam authentication (it's very slow)

On Thu, May 31, 2001 at 10:35:59AM -0400, Matthew Gregg wrote:

> index uid,cn,objectclass,uidnumber,gidnumber eq
> index uniqueMember pres

You do not have an index for memberUid. That means slapd has to walk
over _all_ entries in your database each time you do a search on it.
Do not be surprised if it is slow...

General advice: either index every attribute you want to use in searches or
be very patient.


Gabor Gombas                                       Eotvos Lorand University
E-mail: gombasg@inf.elte.hu                        Hungary