Commit Graph

37 Commits

Author SHA1 Message Date
lukem
ad23fe25bd WARNSify, fix .Nm usage, bzero -> memset 1997-10-18 12:49:10 +00:00
lukem
5645d77b1c WARNSify, fix .Nm usage, bzero -> memset 1997-10-18 12:48:40 +00:00
mikel
0a3628b2c3 initialize variables for gcc -Wall (marked XXX)
compare getopt() result to -1, not EOF
1997-07-25 06:40:32 +00:00
mikel
2aa6b3b7a4 make comparison to NULL explicit (gcc -Wall) 1997-07-25 06:38:02 +00:00
mikel
f89e3ed737 include <err.h> and <stdlib.h> for prototypes
give pw_yp() an explicit type
1997-07-25 06:37:27 +00:00
mikel
2a1157114b add prototypes for check_yppasswdd() and pw_yp() 1997-07-25 06:36:02 +00:00
phil
6907a00e10 Changes to close PR3807. (Different than in PR.)
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:06 +00:00
mrg
64d6e24a6b find "namespace.h" ... 1997-07-22 11:38:33 +00:00
lukem
c3d0010341 remove use of register. 1997-05-21 02:20:15 +00:00
lukem
9f26a55f84 * free up returned data if yp_master() or yp_match() failed
* simplify two case 'switch'es into 'if' statements
1997-05-21 02:19:06 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mouse
650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
mrg
cc03262905 remove dangerous sprintf and strcpy calls. 1997-02-11 08:26:27 +00:00
tls
3514c40606 add note about Kerberos to manual page 1997-01-09 12:09:26 +00:00
cjs
938125b32e PR 3081: segfault due to reversed test.
Fix from Todd Kover <kovert@omniscient.com>.
1997-01-05 10:06:40 +00:00
thorpej
97fdc79a5e Fix a semantic problem reported by Chuck Cranor:
If a user wishes to change a password on a system running YP, and
the master server is not running rpc.yppasswdd, chpass(1) would fail,
even if the user had a local entry.  Fix this by checking for local
entry if master is not running rpc.yppasswd iff we defaulted to using
YP (not invoked with "-y").

XXX Unlike the similar change to passwd(1), this one duplicates some
XXX code (makes an attempt to contact rpc.yppasswdd early).  This is
XXX a side-effect of the structure of this program.  chpass(1) could
XXX use a re-write.
1996-11-26 23:38:42 +00:00
thorpej
51956e9393 Slight semantics change: ALWAYS use YP if the system is bound to a
YP server.  This is required if the passwd database is to stay in sync
if this program is run on the YP server.  Note, local passwd database
operations can still be performed by passing the -l flag.
1996-08-09 09:22:11 +00:00
jtc
370990b210 Updated to use new password file functions in libutil.
From Greg Hudson <ghudson@MIT.EDU>.
1996-05-15 21:50:39 +00:00
jtc
665fc8b7e7 Fix formatting as suggested in PR #1452 1995-09-14 06:10:53 +00:00
phil
72065007ac Improvements to YP support from Jason Downs. 1995-07-28 07:01:32 +00:00
jtc
907b803d29 Fix formatting; PR #1194 1995-07-07 22:35:40 +00:00
jtc
b1f21ab226 Remove unnecessary sys/signal.h header 1995-06-26 23:43:06 +00:00
glass
7659edad1f merged with 4.4Lite 1995-03-26 04:55:22 +00:00
glass
bc9ccaef17 Import from 4.4Lite 1995-03-26 04:19:16 +00:00
mycroft
3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
deraadt
af080bda6b tabs 1994-08-17 19:54:39 +00:00
deraadt
16ed82ec47 fix bug 417 1994-08-17 19:54:34 +00:00
deraadt
61ee562180 fix same bug as in passwd 1994-08-17 19:54:23 +00:00
deraadt
42a8cb5a34 knf & small bug fix 1994-06-29 21:40:21 +00:00
cgd
a6b0e27a3a get the expire and change dates right if they're after 1/1/2000 1994-01-03 08:21:14 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft
690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
brezak
96267d0e22 Add YP support. 1993-06-11 00:34:38 +00:00
mycroft
1b67cec37d Fix various bugs in man pages (from 386BSD patch 130). 1993-04-22 03:27:28 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00