From owner-freebsd-questions@FreeBSD.ORG Tue May 17 14:34:43 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 4CE2016A4CE for ; Tue, 17 May 2005 14:34:43 +0000 (GMT) Received: from natnoddy.rzone.de (natnoddy.rzone.de [81.169.145.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AFE543DB0 for ; Tue, 17 May 2005 14:34:42 +0000 (GMT) (envelope-from uwe@laverenz.de) Received: from athena.laverenz.de (pD9550829.dip.t-dialin.net [217.85.8.41]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j4HEYXpq008558 for ; Tue, 17 May 2005 16:34:34 +0200 (MEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id 0F248E38DD46 for ; Mon, 16 May 2005 11:11:14 +0200 (CEST) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 17270-05 for ; Mon, 16 May 2005 11:11:13 +0200 (CEST) Received: by athena.laverenz.de (Postfix, from userid 2000) id 158CCE38D8A1; Mon, 16 May 2005 11:11:12 +0200 (CEST) Date: Mon, 16 May 2005 11:11:12 +0200 From: Uwe Laverenz To: freebsd-questions@freebsd.org Message-ID: <20050516091112.GC17359@laverenz.de> Mail-Followup-To: freebsd-questions@freebsd.org References: <200505160918.16568.no-spam@swiftdsl.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200505160918.16568.no-spam@swiftdsl.com.au> Organization: private site Sender: uwe@laverenz.de User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de Subject: Re: NSSwitch settings on 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 14:34:43 -0000 On Mon, May 16, 2005 at 09:18:09AM +0930, Ian Moore wrote: > passwd: files ldap > group: files ldap This is correct and sufficient for local files + ldap. > On my 5.4-Release system, the default nsswitch.conf is: AFAIK there never was a "default" nsswitch.conf in FreeBSD 5.4, I always had to create a new one from scratch. > group: compat > group_compat: nis > hosts: files dns > networks: files > passwd: compat > passwd_compat: nis > shells: files Nope, delete this. > Using the 'compat ldap' version, I get errors in /var/log/messages: > May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf line 1: > 'compat' used with other sources > May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: > 'compat' used with other sources man nsswitch.conf cu, Uwe