HomeFreeBSD

Some NIS bug stomping:
rS11286Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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 <kukuk@uni-paderborn.de>)
  • 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.

Details

Provenance
wpaulAuthored on
Parents
rS11285: Document SESS, fix PGRP (now PGID), and document some more STATE flags.
Branches
Unknown
Tags
Unknown

Event Timeline