Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 16:48:32 -0500
From:      "Jacques A. Vidrine" <nectar@FreeBSD.org>
To:        Gerrit =?iso-8859-1?Q?K=FChn?= <gerrit@pmp.uni-hannover.de>
Cc:        Evren Yurtesen <yurtesen@ispro.net.tr>
Subject:   Re: nis/yp question about password file
Message-ID:  <20040921214832.GB52693@madman.celabo.org>
In-Reply-To: <20040921173853.22700630@arc.pmp.uni-hannover.de>
References:  <4150CA1E.4040304@ispro.net.tr> <20040921173853.22700630@arc.pmp.uni-hannover.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 21, 2004 at 05:38:53PM +0200, Gerrit K=FChn wrote:
> On Tue, 21 Sep 2004 17:41:02 -0700 Evren Yurtesen <yurtesen@ispro.net.t=
r>
> wrote about nis/yp question about password file:
>=20
>=20
> EY> can anybody tell what changed in nis/yp that it doesnt work as befo=
re=20
> EY> anymore?
>=20
> 5.x is featuring /etc/nsswitch.conf
> Did you create one during your update process? Mine looks like this and
> works fine with yp:
>=20
> cat /etc/nsswitch.conf                   =20
> group:          nis files
> group_compat:   nis
> hosts:          files nis dns
> passwd:         nis files
> passwd_compat:  nis

Your "group_compat" and "passwd_compat" lines will never be used.
The original poster will need to use an nsswitch.conf that either (a)
has no "group" or "passwd" lines, or (b) has the following:

   group: compat
   group_compat: nis
   passwd: compat
   passwd_compat: nis

Also see nsswitch.conf(5).

Cheers,
--=20
Jacques A Vidrine / NTT/Verio
nectar@celabo.org / jvidrine@verio.net / nectar@FreeBSD.org



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