freebsd-dev/usr.sbin
wpaul cefe517cb0 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
..
ac Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
accton Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
adduser The problem is the returned salt, while the freebsd man pages asks that the 1995-05-20 13:05:22 +00:00
amd Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
apm Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
apmconf Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
arp Make arp command actually behave as documented with the addition of a -f 1995-08-03 03:56:48 +00:00
bad144 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
bootparamd main.c: 1995-07-25 22:44:14 +00:00
bootpd __386BSD__ -> __FreeBSD__ 1994-11-04 02:14:13 +00:00
bootpef This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
bootpgw This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
bootptest This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
cdplay Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
chown Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
chroot This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
config Add missing quote to yyerror call. 1995-07-18 06:11:34 +00:00
config.new Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
cron Remove LOG_FILE definition, close PR 595 1995-07-06 22:47:30 +00:00
crunch Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
ctm Forgot this one in the MD5 reshuffle. 1995-07-13 15:33:42 +00:00
dbsym This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
dev_mkdb This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
diskpart Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
edquota Cast some expressions involving dbtob() to (unsigned long) and print them 1995-05-07 07:48:35 +00:00
eeprom Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
fdcontrol Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
fdformat Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
fdwrite Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
inetd Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
iostat Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
kbdcontrol Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
kbdmap Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
kernbb Don't dereference NULL pointers. 1995-04-28 04:58:19 +00:00
kgmon Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
kvm_mkdb Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
lpr Remove the comment about the broken getopts(1) in our /bin/sh. 1995-08-06 19:39:38 +00:00
lptcontrol Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
lsdev Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
manctl Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
mixer Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
mount_portalfs Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
mountd Just when you thought it was safe... 1995-08-07 03:42:14 +00:00
mrouted Patches to correct endianness bugs in mtrace and a few other little 1995-07-10 16:13:05 +00:00
mtree Use p->fts_level instead of unsuccessfully trying to keep track of the 1995-07-24 02:52:42 +00:00
named Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
ncrcontrol Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
nfsd Changes to support version 3 of the NFS protocol. 1995-06-27 11:07:30 +00:00
nologin Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
nslookup Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
pcvt Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
pkg_install Make "out of space in ${PKG_TMPDIR}" handling a bit more robust. 1995-08-06 03:21:04 +00:00
pkg_manage Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
portmap Close: 1995-08-05 23:25:52 +00:00
ppp Typo in log message : errros -> errors 1995-07-30 15:18:29 +00:00
pppd Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
pppstats There was no newline in the error message for kvm_openfiles(). 1995-07-13 15:59:41 +00:00
pstat Document new tty states TS_CONNECTED, TS_SO_OLOWAT, TS_SO_OCOMPLETE, 1995-07-21 17:03:34 +00:00
pwd_mkdb Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
quot This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
quotaon This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
rarpd Use daemon() to deamonify ourselves. 1995-07-18 21:35:32 +00:00
repquota Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
rmt The rmt protocol didn't allow to pass a file creation mode (permission 1995-04-09 09:20:47 +00:00
routed Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
rtprio Don't attempt to install rtprio.2 from here. It has moved to lib/libc/sys. 1995-08-06 00:58:52 +00:00
rwhod This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
sa Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
sade Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
sendmail Change install' to ${INSTALL}' so that default install flags can be 1995-08-06 12:24:38 +00:00
sgsc Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
sliplogin Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
slstat Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
spkrtest Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
swapinfo Don't follow a null pointer for the reporting error if kvm_openfiles() fails. 1994-11-14 07:54:06 +00:00
sysctl Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
sysinstall Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
syslogd Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
tcpdump Make tcpdump a lot smarter about printing IGMP messages. Derived by groveling 1995-06-13 17:39:23 +00:00
timed Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
traceroute bugfix: traceroute hangs forever, if another ICMP traffics exists and 1995-07-23 01:25:33 +00:00
trpt Removed bogus #include of netinet/in_pcb.h 1995-04-10 00:41:25 +00:00
trsp Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
tzsetup Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
update This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00
vidcontrol Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
vipw Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
vnconfig The vnconfig man page needs updating (change vndXX to vnXX). 1995-07-08 09:29:51 +00:00
watch Add missing ospeed initialization 1995-08-04 07:17:24 +00:00
XNSrouted Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
xntpd Support for the Boeder DCF77 Receiver 1995-07-21 13:04:07 +00:00
xten Switch from bogus absolute path to a relative one. 1995-05-09 23:48:54 +00:00
ypbind Add a -S option to ypbind that allows the following: 1995-07-20 22:33:02 +00:00
yppoll Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
ypset Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
zic Update timezone compiler and dumper to understand the new EC rules. 1995-08-05 20:28:48 +00:00
Makefile Add kbdmap. 1995-07-12 18:43:38 +00:00
Makefile.inc This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1994-09-25 02:11:28 +00:00