From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 23:31:36 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A92E16A4CE for ; Wed, 26 Jan 2005 23:31:36 +0000 (GMT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD1B943D1D for ; Wed, 26 Jan 2005 23:31:35 +0000 (GMT) (envelope-from jas@math.jussieu.fr) Received: from riemann.math.jussieu.fr (riemann.math.jussieu.fr [134.157.13.3])j0QNVYDj038390 ; Thu, 27 Jan 2005 00:31:34 +0100 (CET) X-Ids: 166 Received: from galois1.math.jussieu.fr (galois1.math.jussieu.fr [134.157.13.116])j0QNVUDn099213 ; Thu, 27 Jan 2005 00:31:30 +0100 (CET) Received: from galois1.math.jussieu.fr (localhost.localdomain [127.0.0.1]) j0QNVUW8005898 ; Thu, 27 Jan 2005 00:31:30 +0100 Received: (from jas@localhost) by galois1.math.jussieu.fr (8.12.8/8.12.8/Submit) id j0QNVUYd005897; Thu, 27 Jan 2005 00:31:30 +0100 Date: Thu, 27 Jan 2005 00:31:30 +0100 From: Albert Shih To: Dick Davies Message-ID: <20050126233130.GA5551@math.jussieu.fr> References: <20050126220336.GA23003@math.jussieu.fr> <20050126232802.GH57113@eris.tenfour> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050126232802.GH57113@eris.tenfour> User-Agent: Mutt/1.5.6i X-Spam-Score: -2.82 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.49 on 134.157.13.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.2 (shiva.jussieu.fr [134.157.0.166]); Thu, 27 Jan 2005 00:31:34 +0100 (CET) X-Miltered: at shiva.jussieu.fr with ID 41F82856.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Antivirus: scanned by sophie at shiva.jussieu.fr cc: FreeBSD Questions Subject: Re: Authentication with ldap very slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: shih@math.jussieu.fr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 23:31:36 -0000 Le 26/01/2005 à 23:28:02+0000, Dick Davies a écrit > * Albert Shih [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