pam_netgroups module
Module to restrict access based on NIS or HESIOD netgroup membership

Description:

This module allows one to specify a file containing a list of users or
groups which are allowed to use a service.  The elements of the list can
be preceded by '+' or '-' characters to explicitly match or not match,
thereby allowing a reasonably flexible matching scheme (e.g. all members
of groupA which are not in groupB).  "Groups" can be standard Unix groups,
standard NIS netgroups, or any NIS or HESIOD map which can return a list
of users when keyed on the group name, or a list of groups when keyed on
an user name.  "Users" in the above can be replaced with almost any PAM
variable, and the sense of matching can be reversed (e.g. for deny-type files).

More complete documentation is available in included html file.

Installation instructions:
Run ./configure, and then make.  You will likely want to give one or more
of the following flags to the configure script:
--enable-NIS : to enable use of NIS maps
--enable-hesiod=root_of_hesiod_directory: to enable use of HESIOD
--enable-debug : to enable potentially copious amounts of data to get logged
	to syslog
Hesiod libraries, headers not included,

The Makefile references a number of rules from the standard PAM Make stuff,
so you will need to create symbolic links to
$PAMROOT/Make.Rules
$PAMROOT/modules/Simple.Rules
in the pam_netgroups directory for the Makefile to work properly.

/*	Copyright (c) Tom Payerle <payerle@physics.umd.edu> 2000.

	This code has been placed under the GNU Public License
	( see http://www.gnu.org/copyleft/gpl.html)

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version 2
	of the License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 
	59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
*/
