From owner-freebsd-questions@FreeBSD.ORG Mon May 23 10:34:37 2005 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 8072C16A41C for ; Mon, 23 May 2005 10:34:37 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id BFE9243D1D for ; Mon, 23 May 2005 10:34:36 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 31150 invoked from network); 23 May 2005 10:34:38 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 23 May 2005 10:34:38 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Mon, 23 May 2005 20:04:26 +0930 User-Agent: KMail/1.8 References: <200505160918.16568.no-spam@swiftdsl.com.au> <20050516091112.GC17359@laverenz.de> In-Reply-To: <20050516091112.GC17359@laverenz.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3761308.Sg5el0P5F5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505232004.33810.no-spam@swiftdsl.com.au> Cc: Uwe Laverenz Subject: Re: NSSwitch settings on 5.4 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: Mon, 23 May 2005 10:34:37 -0000 --nextPart3761308.Sg5el0P5F5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 16 May 2005 18:41, Uwe Laverenz wrote: > 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. Well there was one sitting on my system in /etc & I certainly didn't create= =20 it! This system started life as 5.2-RELEASE, so maybe it crept in earlier o= n? > > > group: compat > > group_compat: nis > > hosts: files dns > > networks: files > > passwd: compat > > passwd_compat: nis > > shells: files > > Nope, delete this. > Thanks, that got rid of the error messages. > > Using the 'compat ldap' version, I get errors in /var/log/messages: > > May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf=20 > > line 1: 'compat' used with other sources > > May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf=20 > > line 5: 'compat' used with other sources > > man nsswitch.conf Duh! I forgot to check for a man page for the conf file. Thanks for your help, Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart3761308.Sg5el0P5F5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCkbG5PUlnmbKkJ6ARAprUAJ92i3ml5P+mltgw0J+EDGn7n/37TwCeN7Il fwsVyDYdS2AZjMixBOWAsXo= =2vrv -----END PGP SIGNATURE----- --nextPart3761308.Sg5el0P5F5--