Authentication with ldap very slow

Albert Shih shih at math.jussieu.fr
Wed Jan 26 15:31:36 PST 2005


 Le 26/01/2005 à 23:28:02+0000, Dick Davies a écrit
> * Albert Shih <shih at math.jussieu.fr> [0105 22:05]:
> > Hi 
> > 
> > I've a server (FreeBSD 5.3-p5) to use a openldap for authentication.
> > 
> > Everthing work fine but....it's very slow when some operation need to known
> > the id <--> uid. For example if I try to execute some
> > 
> > 	cd /home
> > 	ls -l *
> > 
> > It's very very slow.
> > 
> > On a linux server authenticate with same openldap server I can use nscd for
> > caching. But I don't find something like nscd for FreeBSD. Mayby I's wrong
> > (I hope so).
> 
> You shouldn't need that. LDAP is designed to be very fast.
> First thing I'd look at is the LDAP server - are general searches slow?

No, and on the linux server everthing work fine.

> Are you on a dialup or something?

no on 100 Mbits/s switching network ;-) soon on 1Gbits/s ;-))

Lots of thanks.

Regards.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Thu Jan 27 00:29:50 CET 2005


More information about the freebsd-questions mailing list