Commit Graph

1653 Commits

Author SHA1 Message Date
wpaul
03fe6f9d6d Add -I${.CURDIR}/../../libexec/ypxfr to CFLAGS so we can see ypxfr_extern.h. 1996-06-06 17:01:53 +00:00
wpaul
71152501a1 Take ypxfrd_xdr.c out of SRCS line here too. This program is also
linked with librpcsvc.
1996-06-06 03:59:22 +00:00
wpaul
f5e325015a Whoops: dragged along an extra copy of the protocol
definition file by mistake. This isn't needed so long
as the one in include/rpcsvc is installed.
1996-06-05 06:15:07 +00:00
wpaul
7afc912575 Added support for in-place updates:
If rpc.yppasswdd is invoked with the -i flag, password changes will
be made to the master.passwd template file and the hash map files
in-place, which means it won't have to run a complete map update.
Instead, it calls /var/yp/Makefile with the 'pushpw' target, which
just pushes the maps to the slaves and runs yp_mkdb -c to tell the
local ypserv to flush its database cache.

The server will check the passwd.byname and passwd.byuid maps to see
if they were built in 'insecure' or 'secure' mode (i.e. with real
encrypted passwords in them or without) and update them accordingly.

This combined with rpc.ypxfrd greatly reduces the amount of time it
takes to complete an NIS password change, especially with very large
passwd databases.
1996-06-05 06:13:09 +00:00
wpaul
8bff27f555 Update to pass new arguments now expected by the yp_dbwrite routines.
No functional changes.
1996-06-05 05:46:20 +00:00
wpaul
705e40a87b Add rpc.ypxfrd. 1996-06-05 05:23:59 +00:00
phk
93541c4bd1 Add pccard to makefile system 1996-06-05 04:40:41 +00:00
phk
6a8a486164 Add BINDIR 1996-06-05 04:39:34 +00:00
wpaul
a32aea0154 This commit was generated by cvs2svn to compensate for changes in r16125,
which included commits to RCS files with non-trunk default branches.
1996-06-05 04:36:55 +00:00
wpaul
cf31622e83 Makefile.yp:
- Add a 'pushpw' target that only yppushes the various passwd maps
  and sends a YPPROC_CLEAR to the local ypserv. This will be used by
  rpc.yppasswdd once I merge in the in-place update changes.

yp_access.c:

- Make the yp_access() function print RPC program and procedure numbers
  that it doesn't know about in literal form. This will allow it to work
  with other prgrams that it doesn't know about, like rpc.ypxfrd I'm going
  to import shortly.

yp_dblookup.c:

- Take out the __inline keywords. They weren't really helping me anyway.

- Somehow I broke yp_next() when DB_CACHE wasn't #defined. Fix it.

- Also fix potential case where yp_next() might loop forever; make sure
  it checks the return values of all the (dbp->seq)()/R_NEXT calls that
  it does as well as comparing keys.
1996-06-05 02:01:31 +00:00
gpalmer
f41bdecc32 Close a file descriptor leak. Possibly closes PR #1212 1996-06-03 21:35:21 +00:00
jkh
ef88bf5901 fix PR#599
Submitted-By: jdp
1996-06-03 04:40:43 +00:00
phk
b5bea7dc4e Backout yacc changes. 1996-06-02 17:22:01 +00:00
wosch
7957d43260 People ask in Usenet, how to configure remoteprinting successfully
having a hosts.lpd(5) manpage and some references to it from
within lpd(8) might help here. Close PR docs/1277

Submitted by: andreas@knobel.gun.de (Andreas Klemm)
1996-06-01 23:22:36 +00:00
jkh
8d22c5bdb9 Oh my, looks like I didn't understand .B as well as I thought I did! :-) 1996-06-01 20:51:47 +00:00
wpaul
7db7b1cde1 Small touch-ups -- no functional changes.
Fix some comments to reflect reality (in some cases I made changes
to code but not to the comments).

Change some instances of 'inline' to '__inline' to pacify
gcc -ansi -pedantic.

Use rcsid strings more consistently.

Make 'oldaddr' static in yp_access().

Use strcpy()/strcat() in yp_open_db_cache() instead of snprintf().
(Seems to be a little faster this way.)
1996-05-31 16:01:51 +00:00
phk
a550a3bde3 yacc rule changes. 1996-05-30 23:16:31 +00:00
wollman
516f199fd3 Copy SGI routed onto head. 1996-05-30 16:31:46 +00:00
wollman
8902bc33bc Superseded by rttrace and rtquery 1996-05-30 16:21:40 +00:00
wollman
59e35a5328 Initial revision 1996-05-30 16:19:14 +00:00
pst
10d32f7a70 Drop privileges if not using standard namelist or kernel file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:20:10 +00:00
pst
20544fa323 Drop privileges if not using standard namelist or file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:19:43 +00:00
smpatel
e450158f36 Enable the -M and -N options of swapinfo, as advertised in the usage line. 1996-05-29 19:57:25 +00:00
jkh
c3a7c96ba9 Fix some minor formatting dreck. 1996-05-29 03:27:31 +00:00
jkh
6494b19d73 Sha-ZAM!
The root floppy is now gone.  I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.
1996-05-29 01:35:33 +00:00
jkh
63fe227349 Very small semantic change. 1996-05-28 23:31:20 +00:00
jkh
a912abf585 Only look at command-line args if we're not running as init - duh!
Thanks, David.
1996-05-28 18:30:30 +00:00
wosch
c352f22791 document values for option -r 1996-05-28 00:14:20 +00:00
wosch
4ef3e1ad64 update SEE ALSO section 1996-05-27 22:46:44 +00:00
jkh
28ca6026b2 Catch and DTRT with SIGPIPE 1996-05-27 22:12:05 +00:00
bde
4545233798 Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
bde
22afa69275 Fixed SRCS so that `make depend' works. 1996-05-24 15:33:25 +00:00
jkh
a6d22d5527 Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better
idea if your link has crashed or is behaving oddly.
1996-05-23 16:34:30 +00:00
wosch
bbabd3ea4b delete MANDIR=/usr/share/man/man,
it breaks `env MANDIR=<dir> make maninstall'
1996-05-21 18:09:11 +00:00
jkh
1c2df5ae79 Remove a particularly annoying confirmation dialog. 1996-05-21 15:57:21 +00:00
wollman
a925c2363f Correct synopsis (-d, -I options were missing because -mdoc mistook
the dI in `.Op Fl dI' for the name of an internal mdoc command).
1996-05-20 17:10:03 +00:00
pst
76aaf04516 Change install permissions to 4555 from 4755 1996-05-20 16:42:32 +00:00
jkh
cbb1c43954 freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
jkh
7cd1713b42 Rethink the previous X distribution change. Including COMPAT_21 is just
bogus, and I think I'll simply see that the X distribtion is rebuilt for
-current before doing another snapshot for it. :-)
1996-05-16 13:39:08 +00:00
jkh
9a98e87498 Get X user and X developer distributions checked correctly again in menus.
Oh yeah, last commit also fixed (I hope) the /etc/sysinstall not being
written on Custom installation problem.
1996-05-16 13:30:24 +00:00
jkh
7560ec91cb Fix some long-standing malloc bugs in the package handling code (freeing garbage
in one place, leaking memory in another).

Add a facility to invoke subsystems directly by naming them on
sysinstall's command-line when running post-install.  A replacement
for pkg_manage might, for example, be `/stand/sysinstall configPackages'

Fix bogon where upgrade shell was entered with tty modes spammed.

Fix bug with release name checking in ftp_strat.  Turned a bunch of
bogus exit()s into proper calls to systemShutdown().
1996-05-16 11:47:46 +00:00
phk
40c2c4166a Commit the right version of mkCTM, <:-)
Noticed by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-05-14 07:25:59 +00:00
wollman
5eea098aaa Get rid of the last vestiges of the old MOUNT_* constants in the
mount_* programs.  While we're at it, collapse the four now-identical
mount programs for devfs, fdesc, kernfs, and procfs into links to
a new mount_std(8) which can mount any really generic filesystem
such as these when called with the appropriate argv[0].

Also, convert the mount programs to use sysexits.h.
1996-05-13 17:43:19 +00:00
phk
dc61083d98 PR: bin/1194: PPP server port not initialized
Latest round of changes omitted initialization of tunnel device
unit variable.

Submitted by:	John Capo <jc@irbs.com>
1996-05-13 07:20:11 +00:00
phk
324cb686d3 Here is a diff of /usr/src/usr.sbin/ppp against current. The diffs
add some logging functionality which I find very useful.
'set debug link' will record just link up/down and address assignments.
'set debug connect' will record the entire chat dialog
'set debug carrier' will record just chat lines including 'CARRIER'
(so that I can be sure I'm getting a 28.8 line).

There was a global change required to permit LogPrintf to take a bit
mask instead of a bit position value (to permit logging some events
on either of two flags, so that no change in 'set debug lcp' would
result from the code supporting 'link'.  Thus the diffs are rather
long for such a small change.  The man page is also touched.

Oh, and there was a slight syntax problem in route.c

Reviewed by:	phk
Submitted by:	Tony Kimball <alk@Think.COM>
1996-05-11 20:48:42 +00:00
joerg
dc312961c4 Convert the option parser to use getopt(3). This makes it more
orthogonal with the rest of the system (you can now use either -PPS or
-P PS), and makes the parser more intelligible.  The only drawback is
that the old semantics for the -i flag in case a non-numeric argument
is following are no longer fully supported (only if -i is the very
last arg at all), since getopt(3) doesn't support the discticnction
between numeric and non-numeric arguments.

Make lpr also understand dashes as input pseudo filenames.  This
finally makes lp(1) fully comply with Posix.2.
1996-05-11 19:00:55 +00:00
joerg
68cc4ca2e1 Clean out the BUGS section/comments now that our lpr has a better
option parsing.
1996-05-11 18:56:11 +00:00
joerg
23a9b3568d Cleanup.
The removed files are no longer needed, they are actually labelled as
``Use only if you are not 4.4BSD''.  (Yeah, the ol' crufty printcap.c
is really gone!)

Properly declare all external objects in files ending in .h, as
opposed to embed them into files ending in .c.
1996-05-09 22:44:28 +00:00
phk
c78351df10 Update to current reality.
mkctm.c can replace the guts of mkCTM if anybody feels like it...
1996-05-09 20:54:06 +00:00
jkh
0f600e3b36 Some cosmetic changes:
Make "selection bar" inverse video white-on-blue on color screens to avoid
it getting muddled up with popup dialogs.

Do disk selection in a more friendly fashion (for one thing, allow a
drive to be de-selected again if you change your mind).

Add a few strategic screen-saves to prevent corruption of screen contents
(thanks, Michael Elbel!).
1996-05-09 09:42:17 +00:00