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

Re: Slow openldap?



On Wed, 28 Jul 1999, Frank [iso-8859-1] Matthieß wrote:

> Borek Lupomesky schrieb:
> >    I have over 3000 entries in an LDAP directory (very small ones). When I
> > do a lookup in this directory the speed is horrible - onelevel lookup
> > takes 10 seconds:
> > 
> > rethymno:~/work/dhcplst-2/ouidb$ time -p ldapsearch -b
> > 'app=ouidb,ou=ci,ou=rektorat,o=UJEP' -s one -h ldap '(oui=00105A)' dn
> > oui=00105A,app=ouidb,ou=ci,ou=rektorat,o=UJEP
> 
> Are the attributes you search for indexed?

   No, how do I do that?

> Do you use the loggingfaciltiy to syslog?

   No (at least it seems to be so, I have all files in syslog.conf
prepended with '-' anyway).

   Bye Borek

--

=====================================================================
BOREK LUPOMESKY, network administrator    University of J. E. Purkyne
                                          Ceske mladeze 8
WWW:       http://www.ujep.cz/~lupomesk/  Usti nad Labem, 40096
IRCnet:    Borek @ #usti                  The Czech Republic
PGP keyid: 11D77115                       tel: +420-602-376368
==========[ MIME/ISO-8859-2 & PGP encrypted mail welcome ]===========