From owner-cvs-lib Fri Oct 10 17:04:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19110 for cvs-lib-outgoing; Fri, 10 Oct 1997 17:04:42 -0700 (PDT) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA18983; Fri, 10 Oct 1997 17:03:52 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) From: Bill Paul Received: (from wpaul@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id RAA14768; Fri, 10 Oct 1997 17:03:27 -0700 (PDT) Date: Fri, 10 Oct 1997 17:03:27 -0700 (PDT) Message-Id: <199710110003.RAA14768@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getnetgrent.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 1997/10/10 17:03:26 PDT Modified files: lib/libc/gen getnetgrent.c Log: NIS+ compatibility kludge. A long time ago, I set up innetgr() so that if searching through the special netgroup.byhost or netgroup.byuser maps didn't work, we would roll over to the 'slow' method of grovelling though the netgroup map and working out the dependencies on the fly. But I left this option hidden inside an #ifdef CHARITABLE since I didn't think I'd ever need it. Well, the Sun rpc.nisd NIS+ server in YP compat mode doesn't support the .byhost and .byuser reverse maps, so the failover is necessary in order to be compatible. *sigh* This closes PR #3891, and should be merged into RELENG_2_2. Revision Changes Path 1.21 +7 -0 src/lib/libc/gen/getnetgrent.c