Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 20:04:26 +0930
From:      Ian Moore <no-spam@swiftdsl.com.au>
To:        freebsd-questions@freebsd.org
Cc:        Uwe Laverenz <uwe@laverenz.de>
Subject:   Re: NSSwitch settings on 5.4
Message-ID:  <200505232004.33810.no-spam@swiftdsl.com.au>
In-Reply-To: <20050516091112.GC17359@laverenz.de>
References:  <200505160918.16568.no-spam@swiftdsl.com.au> <20050516091112.GC17359@laverenz.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505232004.33810.no-spam>