Hi,

 I've installed OpenLDAP 2.0.11 with qmail with LDAP support.
My computer is an IBM Netfinity 7100 with 2 PIII Xeon cpus at
700MHz, and 512 of main memory. The OS is RedHat 7.1.

 I ported about 17000 unix nis accounts to openldap but the
LDAP authentication with qmail is very slow, 3 or 4 seconds and
when there are lots of email arriving these operations takes
the 100% of the two cpus of my server. I thought that the problem
could be the indexes of the openldap configuration, I then modify
slapd.conf for the indexes in this way:

index   cn,uid          pres,eq,sub
index   uidNumber       eq
index   objectClass     eq

 As I said I was using NIS, and AFAIK this uses similar DB
libraries (dbm or berkeley DB) of that of OpenLDAP to index
the search elements so I can't figure out why I'm having this
problem.
Does anyone else have had a problem like this with this amount
of users? I have to add also that with less than 1000 users
all works fine!
Any help will be very appreciated.
Thanks in advance,

---sram
     "Don't listen to what I say; listen to what I mean!" --Feynman
Salvador Ramirez Flandes        PROFC, Universidad de Concepcion, CHILE
http://www.profc.udec.cl/~sram                mailto:[EMAIL PROTECTED]

Reply via email to