From owner-freebsd-questions@FreeBSD.ORG Sat Aug 12 16:00:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DB8DE16A4E5 for ; Sat, 12 Aug 2006 16:00:14 +0000 (UTC) (envelope-from atom.powers@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 550B743D5F for ; Sat, 12 Aug 2006 16:00:14 +0000 (GMT) (envelope-from atom.powers@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so322483pyc for ; Sat, 12 Aug 2006 09:00:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WDLT5z2BE+M66VaVnWj0Gfuzha78fqMhodYS2fGGQ3PaR/gR0V6wkb44RAmeLAd43JMl/T3yluouz6p2R9BpNHKzoR2z0VNCJ6fVtdT4QayFX7mBKErZX7JK1rDnWoUFOuXddNIPbxFKFa0UaS5ePjp9SWu6DpRrqOTl2bvrn/s= Received: by 10.35.38.17 with SMTP id q17mr8827044pyj; Sat, 12 Aug 2006 09:00:13 -0700 (PDT) Received: by 10.35.110.8 with HTTP; Sat, 12 Aug 2006 09:00:13 -0700 (PDT) Message-ID: Date: Sat, 12 Aug 2006 09:00:13 -0700 From: "Atom Powers" To: "Pramod Venugopal" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-questions Subject: Re: Slow Startup with nss_ldap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2006 16:00:14 -0000 Try starting ldap first, using rc.d magic. Try putting 'bind-policy soft" (sp?) in your nss_ldap.conf, ldap.conf On 8/11/06, Pramod Venugopal wrote: > Hello everyone, > > I have a FreeBSD 6.1-RELEASE system configured as a Samba Server with > an OpenLDAP backend. I have configured nss_ldap to allow local user > authentication via LDAP. > > However if I reboot this machine for any reason, the bootup process > gets stuck on named. If I Ctrl-C out of named, it gets stuck again on > slapd. > > However, if i put the original nsswitch.conf back, the machine boots > up fine and i have to copy the old nsswitch.conf back to get local > user authentication. > > Here is the updated nsswitch.conf file: > --8<-- > passwd: files ldap > group: files ldap > --8<-- > > From looking at the logs, it looks like these processes are trying > to access the ldap server which isnt up since it has not started yet. > Is there any way I can get past this (other than using the original > nsswitch.conf and changing back manually)? > > Thanks in advance, > > Pramod Venugopal > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- -- Perfection is just a word I use occasionally with mustard. --Atom Powers--