From owner-cvs-lib Fri Oct 6 14:29:22 1995 Return-Path: owner-cvs-lib Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA17109 for cvs-lib-outgoing; Fri, 6 Oct 1995 14:29:22 -0700 Received: (from wpaul@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id OAA17080 ; Fri, 6 Oct 1995 14:29:06 -0700 Date: Fri, 6 Oct 1995 14:29:06 -0700 From: Bill Paul Message-Id: <199510062129.OAA17080@freefall.freebsd.org> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/gen getgrent.c Sender: owner-cvs-lib@FreeBSD.org Precedence: bulk wpaul 95/10/06 14:29:04 Modified: lib/libc/gen getgrent.c Log: Some NIS bug stomping: - In some cases, we don't properly resolve _all_ possible group memberships. If a user is a member of both local and NIS groups, we sometimes lose some of the membership info from NIS. (Reported by: Thorsten Kukuk ) - Make NIS +groupname overrides actually work the way the SunOS group(5) man page says they should (make them work for all cases: getgrent(), getgrnam() and getgrgid()). - When not compiled with -DYP, grscan() should ignore entries that begin with a '+'. When compiled _with_ -DYP, grscan() should ignore +groupname entries that don't refer to real NIS groups. - Remove redundant redeclaration of fgets(), strsep() and index() inside grscan(). We already #include all the right header files for these. Note: -groupname exclusion as specified in the Sun documentation still isn't supported. This'll be a 2.2 addition. Right now I just want this stuff to work.