From owner-freebsd-questions@FreeBSD.ORG Wed Jan 26 23:28:06 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 AFA6B16A4CF for ; Wed, 26 Jan 2005 23:28:06 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C71243D5A for ; Wed, 26 Jan 2005 23:28:06 +0000 (GMT) (envelope-from rasputnik@hellooperator.net) Received: from [10.4.0.5] (helo=eris.tenfour) by 9.hellooperator.net with esmtp (Exim 4.43) id 1CtwZv-0001CE-40; Wed, 26 Jan 2005 23:28:05 +0000 Received: from rasputnik by eris.tenfour with local (Exim 4.43 (FreeBSD)) id 1CtwZu-000Ev0-SV; Wed, 26 Jan 2005 23:28:02 +0000 Date: Wed, 26 Jan 2005 23:28:02 +0000 From: Dick Davies To: Albert Shih Message-ID: <20050126232802.GH57113@eris.tenfour> References: <20050126220336.GA23003@math.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050126220336.GA23003@math.jussieu.fr> User-Agent: Mutt/1.4.2.1i 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: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Jan 2005 23:28:06 -0000 * 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? Are you on a dialup or something? -- 'That question was less stupid; though you asked it in a profoundly stupid way.' -- Prof. Farnsworth Rasputin :: Jack of All Trades - Master of Nuns