From owner-cvs-usrbin Wed Oct 23 07:44:11 1996 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA20010 for cvs-usrbin-outgoing; Wed, 23 Oct 1996 07:44:11 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA19935; Wed, 23 Oct 1996 07:43:44 -0700 (PDT) Date: Wed, 23 Oct 1996 07:43:44 -0700 (PDT) From: Bill Paul Message-Id: <199610231443.HAA19935@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrbin Subject: cvs commit: src/usr.bin/chpass pw_yp.c pw_yp.h Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/10/23 07:43:43 Modified: usr.bin/chpass pw_yp.c pw_yp.h Log: Add a flag to allow the 'use NIS or local?' logic to tell when NIS is enabled in /etc/master.passwd & friends. This allows the 'USER_YP_AND_LOCAL' case to make a more sensible guess (if NIS is enabled, default to NIS, otherwise default to local -- this is better than defaulting to NIS all the time). Revision Changes Path 1.7 +4 -2 src/usr.bin/chpass/pw_yp.c 1.4 +4 -3 src/usr.bin/chpass/pw_yp.h