1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/lib
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
..
csu/i386 Changed the dimensions of __CTOR_LIST__ and __DTOR_LIST__ from 0 1996-02-20 04:07:26 +00:00
libc NIS cleanups and fixes, the next generation. 1996-04-16 00:22:41 +00:00
libc_r keep the libc_r makefiles in step with those from libc 1996-03-20 03:05:34 +00:00
libcom_err
libcompat Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
libcrypt
libcurses
libdisk Make libdisk C++ aware: 1996-03-24 18:55:39 +00:00
libedit
libf2c
libF77
libfakegnumalloc Some fixes: 1996-02-12 12:40:04 +00:00
libforms
libgnumalloc Some fixes: 1996-02-12 12:40:04 +00:00
libI77
libipx Do not install the now unsupported netns and netiso 1996-04-08 05:15:09 +00:00
libkse Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
libkvm From Lite2: proc and file LIST changes 1996-03-11 05:34:46 +00:00
libm
libmd
libmytinfo
libncurses Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libpam/modules #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
libpcap
libpthread Added a new module "uthread_autoinit.cc". This is a small C++ module. 1996-02-17 02:19:37 +00:00
libresolv
librpcsvc
libscsi
libskey
libss
libtelnet
libtermcap Another round of man page cleanups. 1996-02-12 04:57:03 +00:00
libutil If the two recently added sysctl variables exist, use those rather than 1996-02-24 14:37:30 +00:00
libxpg4
liby
msun Don't trash %ebp. 1996-02-25 20:29:46 +00:00
ncurses/ncurses
Makefile Add libdisk. 1996-03-18 18:59:08 +00:00
Makefile.inc