From owner-freebsd-commit Thu Mar 23 21:47:03 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA15562 for commit-outgoing; Thu, 23 Mar 1995 21:47:03 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA15542 for cvs-lib-outgoing; Thu, 23 Mar 1995 21:46:55 -0800 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id VAA15532; Thu, 23 Mar 1995 21:46:48 -0800 Date: Thu, 23 Mar 1995 21:46:48 -0800 From: Bill Paul Message-Id: <199503240546.VAA15532@freefall.cdrom.com> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen getpwent.c Sender: commit-owner@FreeBSD.ORG Precedence: bulk wpaul 95/03/23 21:46:48 Modified: lib/libc/gen getpwent.c Log: As per Justin T. Gibbs's request, agument the +@netgroup/-@netgroup remapping mechanism in the following manner: if given an entry +@foo and there is no netgroup named 'foo,' try searching for a regular user group called 'foo' and build the cache using the members of group 'foo' instead. If both a netgroup 'foo' and a user group 'foo' exist, the 'foo' netgroup takes precedence, since we're primarily interested in netgroup matching anyway. This allows access control schemes based on ordinary user groups (which are also available via NIS) rather than netgroups, since netgroups on some systems are limited in really brain-damaged ways.