Re: nis/yp question about password file

From: Jacques A. Vidrine <nectar_at_FreeBSD.org>
Date: Tue, 21 Sep 2004 16:48:32 -0500
On Tue, Sep 21, 2004 at 05:38:53PM +0200, Gerrit Kühn wrote:
> On Tue, 21 Sep 2004 17:41:02 -0700 Evren Yurtesen <yurtesen_at_ispro.net.tr>
> wrote about nis/yp question about password file:
> 
> 
> EY> can anybody tell what changed in nis/yp that it doesnt work as before 
> EY> anymore?
> 
> 5.x is featuring /etc/nsswitch.conf
> Did you create one during your update process? Mine looks like this and
> works fine with yp:
> 
> cat /etc/nsswitch.conf                    
> 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,
-- 
Jacques A Vidrine / NTT/Verio
nectar_at_celabo.org / jvidrine_at_verio.net / nectar_at_FreeBSD.org
Received on Tue Sep 21 2004 - 19:48:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC