Commit Graph

35 Commits

Author SHA1 Message Date
lukem 43b1f9b62a * free up data after a failed yp_match()
* simplify a two case switch into an if statement...
* remove use of register
1997-05-21 02:09:51 +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
thorpej 46610bda06 Tidy up printf formats in "don't use all lower case" warning
message.  From Dave Huang <khym@bga.com>, PR #3198.
1997-02-22 01:50:46 +00:00
mrg f9db097104 remove dangerous sprintf and strcpy calls. 1997-02-11 09:29:26 +00:00
tls d47b2b42f1 remove vestigal Berkeley kpasswdd support 1997-01-07 04:02:11 +00:00
thorpej 32e089cd4b Fix RCS ID, and clean up extra newline at end of file. 1997-01-05 05:21:51 +00:00
tls 28316c21d3 Sync with 4.4BSD-Lite2 (whew!) 1996-12-28 04:30:02 +00:00
tls 7d4405a6a6 Import of 4.4BSD-Lite2 sources 1996-12-27 23:11:39 +00:00
thorpej bbe8c40877 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, passwd(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 as "yppasswd" or with "-y").
1996-11-26 23:35:38 +00:00
thorpej 27643ee095 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.

Also, some minor cleanup and RCS id police.
1996-08-09 09:19:33 +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
hpeyerl db2ac90d67 Fix minor -Ibooboo 1995-03-31 05:49:37 +00:00
phil 68bbf97073 Make passwd work with a link to yppasswd. (From Jason Thorpe) 1995-02-12 17:45:54 +00:00
phil 49d06ab1d4 Fix bug bin/789 with my fix. 1995-02-08 19:54:12 +00:00
phil ba9c5ac055 Fix the bug that stopped a user from changing his yp passwd when
the entry was ::.  (Also allows root to change the empty password.)
1995-01-15 03:23:48 +00:00
mycroft 3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
cgd cfaefa659d needs string.h 1994-12-24 17:27:42 +00:00
brezak 304b4efcdf Fix krb4 build. From Michael Graff <explorer@vorpal.com> 1994-10-17 18:36:57 +00:00
deraadt 5996dc7e00 pr#416 1994-08-17 06:06:42 +00:00
brezak 9adfc4104e Add conditional kerberosIV and kerberos5 support 1994-07-27 03:28:11 +00:00
deraadt e538061ae1 few minor things, one pointed out by <kuku@acds.physik.rwth-aachen.de> 1994-01-13 23:42:28 +00:00
jtc 2c7d5d92c9 Fix spelling errors. 1994-01-11 18:22:48 +00:00
deraadt 1f827d4b07 rationalize & cleanup -y/-k/-l code
update man page for -y
yp password setting now works again!
relax passwd setting retry code a teeny bit
1994-01-05 11:20:34 +00:00
cgd 4b30c543a0 always use libcrypt 1993-10-07 02:16:39 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 07832ac9cf Add RCS identifiers. 1993-07-31 00:20:24 +00:00
brezak f1b1f173e6 Change NIS--> YP 1993-07-07 12:33:50 +00:00
brezak d3af035718 Return status instead of exiting. 1993-07-07 12:31:52 +00:00
brezak 96267d0e22 Add YP support. 1993-06-11 00:34:38 +00:00
cgd 86677cb02a changed to use new libcrypt scheme. 1993-04-26 14:42:34 +00:00
proven a19e35bf34 Fixed problem where users with a blank password field can't change their
password.
1993-04-09 21:37:55 +00:00
cgd 649bd7ccc5 added support for using real crypt 1993-03-22 23:27:33 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00