Commit Graph

599 Commits

Author SHA1 Message Date
Bill Paul
9f3db41ff5 Fix long standing bogosity in ypbind: if /var/yp/binding doesn't exist,
ypbind is supposed to create it but it doesn't. This is because when
it checks the return value for the attempted open() of
/var/yp/binding/DOMAIN.VERSION, it tests only for a value of -1. This
is bogus because open() doesn't return -1 in this case. Now it checks
for < 0 instead.

This should make life easier for many NIS-newbies who would otherwise
be left scratching their heads wondering why the NIS client stuff won't
work despite their best efforts. ("I set the domain name on my machine,
and /var/yp exists, but when I start ypbind and try a 'ypcat passwd,'
it says it can't bind to a server for this domain! Please help!")

*long, heavy sigh*
1995-04-02 03:10:55 +00:00
Bill Paul
84e41ecfbe Get rid of ether_addr.c: it's been moved to libc. Also add proper
declaration for ether_ntohost(). (Does anyone know what header file
is supposed to contain the declarations for the ether_addr functions?
I can't them in the SunOS includes anywhere.)
1995-04-02 01:35:54 +00:00
Joerg Wunsch
175fa6182a Update pcvt to 3.20b23
Submitted by:	Hellmuth Michaelis <hm@altona.hamburg.com>
1995-04-01 17:16:40 +00:00
Garrett Wollman
478140b95f Forgot to add these two.
Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-03-31 21:18:13 +00:00
Garrett Wollman
94036a8cf0 Fix paths of dump files and PID file.
Added man pages for mrinfo and map-mbone.
Rewrote all man pages to use mdoc(7).

Submitted by:	Mark Tinguely <tinguely@plains.NoDak.edu>
1995-03-31 21:16:59 +00:00
Jordan K. Hubbard
ee0afc78a8 Patches to make this work with FreeBSD with the DCF77 Boeder Receiver.
This is only useful to European users (esp. Germans) as DCF77 transmits
from Frankfurt.
Submitted by:	Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-03-31 07:01:11 +00:00
Jordan K. Hubbard
8d0f93af56 Missing const clashes with prototype definition in ntp_stdlib.h; fixed. 1995-03-31 02:30:15 +00:00
Poul-Henning Kamp
7dd147b45b The latest round of bugfixes here... 1995-03-29 06:13:08 +00:00
Bill Paul
8b5a6d67db Fixed stupid bug in mountd: it would seem that the kernel doesn't allow
you to push the same host into its NFS export lists twice, but mountd
tries to do it anyway. This means that putting:

/some_file_system -ro host1 host1

in your /etc/exports file causes an error. This is bogus: mountd should be
smart enough to ignore the second instance of host1. This can be a problem
in some configurations that use netgroups. For example, each host in my
netgroups database is has two entries:

startide (startide,-,) (startide.ctr.columbia.edu,-,)

When mountd sees this, it tries to put startide.ctr.columbia.edu into the
export list *twice*. Just listing 'startide' /etc/exports list will also
screw up because mountd will try to resolve the netgroup 'startide' instead
of the hostname 'startide.'

My solution is watch for duplicate entries in get_host() and mark them
as grouptype GT_IGNORE, which do_mount() will now cheefully throw away.
This is a bit of a kludge, but it was the least obtrusive fix I could
come up with.

Also silenced a compiler warning: arguments passwd to xdr_long() should
be u_long, not int. :)
1995-03-26 23:36:38 +00:00
Poul-Henning Kamp
37c1d2607b Fixed a bug so that a delta#0 can be applied.
Fixed a typo in the generation of temp filenames.
"Blame" Joerg for the man-pages (and clarify a couple of minor points).
Most appreceiated Joerg!
1995-03-26 20:09:52 +00:00
Bill Paul
bdb44d5fb6 Stop callbootd from dumping core when attempting to directly query a
bootparam server on a host that isn't running bootparamd: if clnt_create()
comes back with a NULL pointer, bail out with an error.
1995-03-26 03:15:39 +00:00
Bill Paul
7112864e5c Make sure we free() the result returned to us by yp_match(). 1995-03-26 02:37:00 +00:00
Joerg Wunsch
de8020d29b Call open(2) and mkdir(2) with 0666/0777 as the `mode' argument (as
opposed to 0644 or 0755).  It's finally still masked by the process'
umask(2), and it does not make sense to restrict it further than that.

This (especially for mkdir(2)) was causing major headaches for the CVS
tree, since a member of group cvs was later not able to get cvs
checkout permission for the mirrored tree failed to write the lock file).
1995-03-25 20:46:51 +00:00
Joerg Wunsch
fee6e7cc49 Added a man page for the ctm(1) command, as well as a format description
for the CTM deltas.

Largely based on Poul-Henning's README, and the source code.
1995-03-25 18:14:26 +00:00
Poul-Henning Kamp
f551164802 Make sure exit() is sensible; 1995-03-24 21:36:32 +00:00
Poul-Henning Kamp
15a9992ca2 Modes on dirs were decimal by mistake.
Submitted by:	joerg
1995-03-24 21:33:20 +00:00
Jordan K. Hubbard
72a3d44887 Add what looks to be the right fix to this bogus code. 1995-03-24 16:07:09 +00:00
Jordan K. Hubbard
5390e1a7be kbdfont -> vidfont for greater commonality with kbdcontrol/vidcontrol 1995-03-24 04:36:19 +00:00
Jordan K. Hubbard
9774e9cfaf Bring in the kbdmap/kbdfont utilities from Wolfram Schneider.
Renamed them to make them more consistent with kbdcontrol/fdcontrol/etc.
1995-03-24 00:52:28 +00:00
Bill Paul
d038db90e8 Re-enable +::::::::: wildcards that I had previously disallowed.
Note: if you put +::0:0:::::: in /etc/master.passwd as your only NIS
entry, it will cause all NIS uids and gids to be remapped to zero. This
is *intentional*. That's the way it's supposed to work. Enabling NIS with
no remapping at all is done with +:::::::::, not +::0:0::::::. Similarly,
+:::::::::/bin/csh will remap the shells of all NIS users to /bin/csh.
Or, you could do +wpaul:::::::::/bin/csh to remap NIS user wpaul's shell
to /bin/csh but leave everyone else alone.
1995-03-23 22:31:11 +00:00
Garrett Wollman
db041b142b Enable DES if NOCRYPT is not set and and the user has the secure sources. 1995-03-23 19:13:04 +00:00
Bill Paul
34876b9137 Summarily enable YP as soon as any a '+' is detected instead of generating
special values when +user substitutions are in effect. The new getpwent
code can handle all the special cases itself now.
1995-03-23 17:22:37 +00:00
Rodney W. Grimes
ecdb980f93 Convert from using old root.cache to new named.root 1995-03-23 08:43:07 +00:00
Bill Paul
ad5d3ccd4d - Add support for embedding special entries in the password databases
for +@netgroup/-@netgroup entries. This saves the getpwent functions
from having to do all the work.

- Fix potential bug: when pwd_mkdb writes the YP-enabled flag to the secure
password database, it uses the wrong database descriptor. (It uses the
descriptor from the non-secure database, which is already closed by the time
things are being written into the secure dastabase).
1995-03-23 00:54:57 +00:00
Poul-Henning Kamp
ec71951908 Make extra arguments be subdirs to go through. 1995-03-19 21:26:00 +00:00
Joerg Wunsch
b2fbeb9a91 Finally applying my own fix. :-)
>Description:

ctm(1) sometimes did not free up all used resources (open pipes and
processes, heap memory).  This happened whenever one of the passes
ended prematurely, and it became very apparent when running it on
a bunch of already applied deltas, resulting in a ``gunzip: resource
temporarily unavailable'' due to the maxproc # exhausted.
1995-03-19 13:42:54 +00:00
Ollivier Robert
475239d0d8 Add a missing "\" in a printf before the "n". 1995-03-19 12:01:23 +00:00
Poul-Henning Kamp
9def6b02b2 Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly. 1995-03-19 06:09:01 +00:00
Garrett Wollman
d99c7a23fa This set of patches enables IP multicasting to work under FreeBSD. I am
submitting them as context diffs for the following files:

sys/netinet/ip_mroute.c
sys/netinet/ip_var.h
sys/netinet/raw_ip.c
usr.sbin/mrouted/igmp.c
usr.sbin/mrouted/prune.c

The routine rip_ip_input in raw_ip.c is suggested by Mark Tinguely
(tinguely@plains.nodak.edu). I have been running mrouted with these patches
for over a week and nothing has seemed seriously wrong. It is being run in
two places on our network as a tunnel on one and a subnet querier on the
other. The only problem I have run into is that mrouted on the tunnel must
start up last or the pruning isn't done correctly and multicast packets
flood your subnets.

Submitted by:	Soochon Radee <slr@mitre.org>
1995-03-16 16:25:55 +00:00
Stefan Eßer
619e03fa69 Reading NCR registers is not secure at all times, so prevent
an ordinary user from doing this. (Problem pointed out by
Guido van Rooij).
1995-03-16 15:10:11 +00:00
Stefan Eßer
abfefaa786 Fix "-ssync=xx" option. 1995-03-14 21:12:26 +00:00
Atsushi Murai
108136679f Adding GETTING START and so on.
Submitted by:	amurai@spec.co.jp
1995-03-12 12:03:48 +00:00
Atsushi Murai
ca2b8d6944 Add BUGS and few explanation.
Submitted by:	amurai@spec.co.jp
1995-03-11 16:36:30 +00:00
Atsushi Murai
84b8a6ebd1 1.Reducing cpu usage at off connection.
2.Implment Redail function as working correctly.
3.Clean up a code as I notice.
4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !!

Reviewed by:	amurai@spec.co.jp
Submitted by:	amurai@spec.co.jp
1995-03-11 15:18:55 +00:00
Poul-Henning Kamp
5dad287ead The changes to support the new flags in the vn driver. 1995-03-11 09:33:25 +00:00
Poul-Henning Kamp
14c5b2ae27 Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00
Rodney W. Grimes
a5d1fbe54d Need /usr/src/sbin/i386 in srcdirs to get fdisk. 1995-03-10 08:36:19 +00:00
Paul Traina
35040f6884 Remove Matt Day patch (handled elsewhere in 8.6.11) 1995-03-10 05:12:47 +00:00
Paul Traina
d986f3c961 Merge CSRG branch changes into main branch 1995-03-10 05:08:18 +00:00
Paul Traina
2a3b769d01 Merge sendmail 8.6.11 patches into CSRG branch 1995-03-10 04:50:28 +00:00
Andrey A. Chernov
b603d90c20 Fix suspended vipw hangs
Obtained from: NetBSD
1995-03-09 21:53:12 +00:00
Andras Olah
c8f313a356 Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
Andrey A. Chernov
f01592bbca o more options
o less restrictive, you can choise uid, gid ...
	o invite user into some groups
	o encrypted passwords with crypt
	o batch mode (for instance, this works now:
	  $ adduser -batch jkh guest,uuadmin "Jordan K. Hubbard" passwd
	  see manpage for more details)

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-03-08 22:44:37 +00:00
Andras Olah
9520a7526d Make tcpdump understand the T/TCP (RFC-1644) options. Some extra sanity
checks were also introduced to the tcp_print function so it doesn't try
to interpret TCP options beyond the length of the sniffed packet.
1995-03-08 13:13:01 +00:00
Andras Olah
cafb7c1233 Upgrade tcpdump and tcpslice to version 3.0
Obtained from: ftp.ee.lbl.gov and Vern Paxson <vern@ee.lbl.gov>
1995-03-08 12:53:42 +00:00
Peter Dufault
84d84db480 Change warning message for when a device is wired to a floating
host adapter to something hopefully clearer.  Take into account
that "wnum()" writes into a static buffer in the warning.
1995-03-07 11:03:42 +00:00
Joerg Wunsch
31aafd54c3 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:50:24 +00:00
Joerg Wunsch
0e679f8b28 Upgrade to beta 3.20/b22 1995-03-05 22:47:12 +00:00
Joerg Wunsch
9fef3e04b3 Adding the various documentation files that are accompanying
the regular pcvt distribution under pcvt/Misc.
1995-03-05 22:44:03 +00:00
Bill Paul
7757d94047 ether_addr.c:
- Implement ether_hostton()
- Implement ether_aton()
- Modify ether_aton() and ether_ntoa() to match the semantics of the
SunOS versions of these functions.
- Neaten up ether_hostton() and ether_ntohost() a little.
- Get rid of ether_print() since it isn't needed for rarpd and it isn't
documented as a standard ethers(5) function.

rarpd.8:

- Make it clear that the 'ipaddr' that rarpd looks for in /tftpboot
is actually in hexadecimal (as in /tftpboot/803B4032) since those who
are not versed in the black art of system administration are not likely
to know this.
1995-03-05 22:04:05 +00:00