Find a file
Bill Paul 94c53e1fb5 NIS cleanups and fixes, the next generation.
getnetgrent.c:

- Catch one bogon that snuck by: in _listmatch(), check for '\0'
  rather than '\n'; strings returned from yp_match() are terminated
  with a nul, not a newline.

getpwent.c:

- Rip out all of the +inclusion/-exclusion stuff from before and
  replace it with something a little less grotty. The main problem
  with the old mechanism was that it wasted many cycles processing
  NIS entries even after it already knew they were to be exlcuded
  (or not included, depending on your pointof view). The highlights
  of these changes include:

  o Uses an in-memory hash database table to keep track of all the
    -@netgroup, -user, and -@group exclusions.

  o Tries harder to duplicate the behavior normally obtained when using
    NIS inclusions/exclusions on a flat /etc/passwd file (meaning things
    come out in much the same order).

  o Uses seperate methods for handling getpwent() and getpwnam()/getpwuid()
    operations instead of trying to do everything with one general
    function, which didn't work as well as I thought it would.

  o Uses both getnetgrent() and innetgr() to try to save time where
    possible.

  o Use only one special token in the local password database
    (_PW_KEYYPBYNUM) instead of seperate tokens to mark + and -
    entries (and stop using the counter tokens too). If this new
    token doesn't exist, the code will make due with the standard
    _PW_KEYBYNUM token in order to support older databases that
    won't have the new token in them.

  All this is an attempt to make this stuff work better in environments
  with large NIS passwd databases.
1996-04-16 00:22:41 +00:00
bin Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
eBones Clarify some paths in the man pages. 1996-04-06 09:59:05 +00:00
etc Document MOTIF_STATIC 1996-04-13 06:40:19 +00:00
games Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
gnu Remove some of the grot I added to try and save/restore screen contents. 1996-04-13 13:13:32 +00:00
include NIS cleanups and fixes, the next generation. 1996-04-16 00:22:41 +00:00
lib NIS cleanups and fixes, the next generation. 1996-04-16 00:22:41 +00:00
libexec This commit was generated by cvs2svn to compensate for changes in r15249, 1996-04-13 15:33:16 +00:00
lkm Add in qcam module (forgot) 1996-03-24 00:30:38 +00:00
release 1. Update all the copyrights to delete useless clauses 3 and 4. 1996-04-13 13:32:15 +00:00
sbin Fixed a couple of format strings to match the change of pid_t from long 1996-04-13 15:47:43 +00:00
secure Split libcrypt and libcipher man pages. 1996-04-13 08:18:24 +00:00
share Add man pages for the copy*, fetch*, and store* families of 1996-04-15 21:37:07 +00:00
sys Two fixes from Rich Stevens: 1996-04-15 03:46:33 +00:00
tools Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
usr.bin Document that ipx is a valid protocol for the -f option. 1996-04-13 21:23:57 +00:00
usr.sbin Implemented a new keyword `disable'. This should be useful for controlling 1996-04-13 19:57:38 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Re-instate the bootstrap target which can be used to build tools 1996-03-24 13:16:45 +00:00