freebsd-dev/lib
Bill Paul 1e890b056a Just when you thought it was safe...
- getnetgrent.c: address some NIS compatibility problems. We really need
to use the netgroup.byuser and netgroup.byhost maps to speed up innetgr()
when using NIS. Also, change the NIS interaction in the following way:

If /etc/netgroup does not exist or is empty (or contains only the
NIS '+' token), we now use NIS exclusively. This lets us use the
'reverse netgroup' maps and is more or less the behavior of other
platforms.

If /etc/netgroup exists and contains local netgroup data (but no '+').
we use only lthe local stuff and ignore NIS.

If /etc/netgroup exists and contains both local data and the '+',
we use the local data nd the netgroup map as a single combined
database (which, unfortunately, can be slow when the netgroup
database is large). This is what we have been doing up until now.

Head off a potential NULL pointer dereference in the old innetgr()
matching code.

Also fix the way the NIS netgroup map is incorporated into things:
adding the '+' is supposed to make it seem as though the netgroup
database is 'inserted' wherever the '+' is placed. We didn't quite
do it that way before.

(The NetBSD people apparently use a real, honest-to-gosh, netgroup.db
database that works just like the password database. This is
actually a neat idea since netgroups is the sort of thing that
can really benefit from having multi-key search capability,
particularly since reverse lookups require more than a trivial
amount of processing. Should we do something like this too?)

- netgroup.5: document all this stuff.

- rcmd.c: some sleuthing with some test programs linked with my own
version of innetgr() has revealed that SunOS always passes the NIS
domain name to innetgr() in the 'domain' argument. We might as well
do the same (if YP is defined).

- ether_addr.c: also fix the NIS interaction so that placing the
'+' token in the /etc/ethers file makes it seem like the NIS
ethers data is 'inserted' at that point. (Chances are nobody will
notice the effect of this change, which is just te way I like it. :)
1995-08-07 03:42:14 +00:00
..
csu/i386 Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libc Just when you thought it was safe... 1995-08-07 03:42:14 +00:00
libcom_err Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libcompat Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libcrypt Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libcurses Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libdisk Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
libedit Fix sh coredump in vi mode with empty colon command 1995-08-04 19:42:23 +00:00
libf2c Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libF77
libforms Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libftp Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libI77
libkvm 41 headers must be implicitly included and one more (<sys/param.h>) must 1995-06-25 03:35:49 +00:00
libm Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libmd Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libmytinfo Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libncurses Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libpam/modules Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
libpcap Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
libresolv
librpc
librpcsvc If we are going to set the OBJS target, don't add to the old target. This 1995-03-04 17:39:24 +00:00
libscsi Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libskey Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libss Install non-source files with the optional flag ${COPY}, not with the flag -c. 1995-08-06 12:41:07 +00:00
libtelnet Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
libterm
libtermcap Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
libutil Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
liby
msun Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
ncurses/ncurses Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
rpcsvc
Makefile Only build libtelnet if the secure libtelnet is not going to be built. 1995-08-06 11:14:09 +00:00
Makefile.inc