krb5.git
29 years ago * kdb_cpw.c (add_key_rnd): remove bletcherous aggregate
Tom Yu [Wed, 9 Aug 1995 01:36:43 +0000 (01:36 +0000)]
* kdb_cpw.c (add_key_rnd): remove bletcherous aggregate
initializer stuff and use build_principal_ext like we
should have in the first place to build the tgt principal.

Why are we using the TGS key to seed the random number generator?
This makes randomized service keys have data that is derived from the
TGS key.  Do we really want that?  Or am I missing something here?

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6474 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * update_utmp.c (pty_update_utmp): change #ifdef NO_UT_PID to
Tom Yu [Wed, 9 Aug 1995 00:48:10 +0000 (00:48 +0000)]
* update_utmp.c (pty_update_utmp): change #ifdef NO_UT_PID to
#ifndef

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6473 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoChanges for Alpha; also deal better with slave failure
Sam Hartman [Wed, 9 Aug 1995 00:40:30 +0000 (00:40 +0000)]
Changes for Alpha; also deal better with slave failure

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6472 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoChanges to get telnet working on Alpha
Sam Hartman [Wed, 9 Aug 1995 00:39:05 +0000 (00:39 +0000)]
Changes to get telnet working on Alpha

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6471 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * update_utmp.c: flush preprocessor directive to left margin
Tom Yu [Wed, 9 Aug 1995 00:36:20 +0000 (00:36 +0000)]
* update_utmp.c: flush preprocessor directive to left margin

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6470 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoPass correct argument to getutmpx()
Paul Park [Tue, 8 Aug 1995 22:03:52 +0000 (22:03 +0000)]
Pass correct argument to getutmpx()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6469 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix cc -std1 error on OSF
Paul Park [Tue, 8 Aug 1995 22:03:28 +0000 (22:03 +0000)]
Fix cc -std1 error on OSF

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6468 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd {add,del}_key_type commands
Paul Park [Tue, 8 Aug 1995 22:02:57 +0000 (22:02 +0000)]
Add {add,del}_key_type commands

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6467 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDescribe previous changes
Paul Park [Tue, 8 Aug 1995 22:02:09 +0000 (22:02 +0000)]
Describe previous changes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6466 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix key merging logic and allow multiple key/salt strings to be parsed
Paul Park [Tue, 8 Aug 1995 22:02:01 +0000 (22:02 +0000)]
Fix key merging logic and allow multiple key/salt strings to be parsed

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6465 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDon't deallocate key/salt tuples if supplied by caller to string_to_key
Paul Park [Tue, 8 Aug 1995 22:01:34 +0000 (22:01 +0000)]
Don't deallocate key/salt tuples if supplied by caller to string_to_key

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6464 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoHandle new protocol error messages
Paul Park [Tue, 8 Aug 1995 22:00:55 +0000 (22:00 +0000)]
Handle new protocol error messages

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6463 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse sigjmp_buf under POSIX_SETJMP
Paul Park [Tue, 8 Aug 1995 22:00:43 +0000 (22:00 +0000)]
Use sigjmp_buf under POSIX_SETJMP

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6462 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix Purify complaint
Paul Park [Tue, 8 Aug 1995 22:00:08 +0000 (22:00 +0000)]
Fix Purify complaint

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6461 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMake sure unfilled data in krb5_key_data is zero in decode_princ_contents
Paul Park [Tue, 8 Aug 1995 21:59:35 +0000 (21:59 +0000)]
Make sure unfilled data in krb5_key_data is zero in decode_princ_contents

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6460 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse correct length to malloc() in encrypt_key_data()
Paul Park [Tue, 8 Aug 1995 21:58:45 +0000 (21:58 +0000)]
Use correct length to malloc() in encrypt_key_data()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6459 dc483132-0cff-0310-8789-dd5450dbe970

29 years agodescribe adb locking mechanism
Barry Jaspan [Tue, 8 Aug 1995 19:21:20 +0000 (19:21 +0000)]
describe adb locking mechanism

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6458 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago* Use new interface to pty_update_utmp
Sam Hartman [Tue, 8 Aug 1995 00:11:08 +0000 (00:11 +0000)]
* Use new interface to pty_update_utmp

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6455 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago* Include utmp.h in krlogind.c; libpty.h doesn't any more and it needs them to find...
Sam Hartman [Mon, 7 Aug 1995 23:59:39 +0000 (23:59 +0000)]
* Include utmp.h in krlogind.c; libpty.h doesn't any more and it needs them to find size of ut_name.
* Use new interface to pty_update_utmp.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6454 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago* Modify pty_update_utmp so it takes additional parameters instead of
Sam Hartman [Mon, 7 Aug 1995 23:58:26 +0000 (23:58 +0000)]
* Modify pty_update_utmp so it takes additional parameters instead of
struct utmp.
* Move pty_update_wtmp to an internal function; pty_update_utmp and
pty_logwtmp call it.
* Don't include utmp.h or utmpx.h in libpty.h; they don't need it any
more.
* Don't use pid_t in libpty.h or any interfaces it defines\.  We'll
have to settle for int.
* Add logic so that UTMP_FILE and WTMP_FILE get defined on NetBSD
(Actually fairly clean).

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6453 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd authenc.c to the SRCS list; authenc.o is in the OBJS list, after
Theodore Tso [Mon, 7 Aug 1995 23:40:31 +0000 (23:40 +0000)]
Add authenc.c to the SRCS list; authenc.o is in the OBJS list, after
all.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6452 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoIf using the autoconf in the local tree, invoke it using /bin/sh, so
Theodore Tso [Mon, 7 Aug 1995 23:38:44 +0000 (23:38 +0000)]
If using the autoconf in the local tree, invoke it using /bin/sh, so
that it works even if autoconf has been checked out from SCCS without
the execute bit set.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6451 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoInclude $(NETIO_SRCS) in the list of source files, instead of
Theodore Tso [Mon, 7 Aug 1995 23:31:46 +0000 (23:31 +0000)]
Include $(NETIO_SRCS) in the list of source files, instead of
$(NETIO_OBJS)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6450 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoaclocal.m4 (SS_RULES): Add double quotes around "$}{*.ct"
Theodore Tso [Mon, 7 Aug 1995 23:27:52 +0000 (23:27 +0000)]
aclocal.m4 (SS_RULES): Add double quotes around "$}{*.ct"

aclocal.m4 (CONFIG_RULES): Add $(SHELL) to invocation of autoconf, so
that things work even if the execute bit isn't set on the shell
script.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6449 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd $(SHELL) to invocation of config_script, so that the tree can
Theodore Tso [Mon, 7 Aug 1995 23:23:26 +0000 (23:23 +0000)]
Add $(SHELL) to invocation of config_script, so that the tree can
build even after checked into a broken SCCS system.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6448 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd $(SHELL) to invocation of config_script, so that the tree can
Theodore Tso [Mon, 7 Aug 1995 23:22:17 +0000 (23:22 +0000)]
Add $(SHELL) to invocation of config_script, so that the tree can
build even after being checked into a broken SCCS system.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6447 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse generic_gss_release_oid_set() instead of gss_release_oid_set() so
Theodore Tso [Mon, 7 Aug 1995 23:21:42 +0000 (23:21 +0000)]
Use generic_gss_release_oid_set() instead of gss_release_oid_set() so
that the krb5-specific mechanism can be linked in without pulling in
krb5_gss_glue.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6446 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoIf there is an error looking up the key, make sure the keytab is
Theodore Tso [Mon, 7 Aug 1995 23:20:23 +0000 (23:20 +0000)]
If there is an error looking up the key, make sure the keytab is
closed as part of the cleanup.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6445 dc483132-0cff-0310-8789-dd5450dbe970

29 years agotf_util.c (utimes): If __SVR4 is defined, #include <utime.h>, just as
Theodore Tso [Mon, 7 Aug 1995 22:46:58 +0000 (22:46 +0000)]
tf_util.c (utimes): If __SVR4 is defined, #include <utime.h>, just as
we do if __svr4__ is defined.

g_pw_in_tkt.c: If __SVR4 is defined, #include <sgtty.h>, just as we do
if __svr4__ is defined.  (WARNING: This code still assumes that the
BSD ioctl's are being supported, at least in compatibility mode.  We
should really upgrade this code to use POSIX termios calls.)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6444 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoImprove keysalt handling
Paul Park [Mon, 7 Aug 1995 21:44:55 +0000 (21:44 +0000)]
Improve keysalt handling

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6443 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRestore input strings to their original state after parsing
Paul Park [Mon, 7 Aug 1995 21:44:32 +0000 (21:44 +0000)]
Restore input strings to their original state after parsing

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6442 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDescribe previous changes
Paul Park [Mon, 7 Aug 1995 21:43:50 +0000 (21:43 +0000)]
Describe previous changes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6441 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoHandle V4 salttype correctly
Paul Park [Mon, 7 Aug 1995 21:43:35 +0000 (21:43 +0000)]
Handle V4 salttype correctly

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6440 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix key list merging so that kvno is generated correctly
Paul Park [Mon, 7 Aug 1995 21:43:22 +0000 (21:43 +0000)]
Fix key list merging so that kvno is generated correctly

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6439 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse krb5_string_to_keysalts() to ensure that list is unique
Paul Park [Mon, 7 Aug 1995 21:42:42 +0000 (21:42 +0000)]
Use krb5_string_to_keysalts() to ensure that list is unique

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6438 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoBuild fixes for Solaris
Paul Park [Mon, 7 Aug 1995 18:45:45 +0000 (18:45 +0000)]
Build fixes for Solaris

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6437 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix another big-endian problem
Paul Park [Mon, 7 Aug 1995 18:16:56 +0000 (18:16 +0000)]
Fix another big-endian problem

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6436 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoHacks to get this to compile with the new kdb format
Paul Park [Mon, 7 Aug 1995 17:33:10 +0000 (17:33 +0000)]
Hacks to get this to compile with the new kdb format

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6435 dc483132-0cff-0310-8789-dd5450dbe970

29 years agolibpty fixes
Paul Park [Mon, 7 Aug 1995 17:10:17 +0000 (17:10 +0000)]
libpty fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6434 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoManually initialize krbtgt_princ.data
Paul Park [Mon, 7 Aug 1995 17:08:09 +0000 (17:08 +0000)]
Manually initialize krbtgt_princ.data

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6433 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd new error KRB5_KDB_BAD_KEYTYPE
Chris Provenzano [Mon, 7 Aug 1995 15:51:58 +0000 (15:51 +0000)]
Add new error KRB5_KDB_BAD_KEYTYPE

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6432 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoNew routines for changing passwords of new kdb entries
Chris Provenzano [Mon, 7 Aug 1995 15:50:51 +0000 (15:50 +0000)]
New routines for changing passwords of new kdb entries

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6431 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoHacks to get it to compile with new kdb format
Chris Provenzano [Mon, 7 Aug 1995 15:49:12 +0000 (15:49 +0000)]
Hacks to get it to compile with new kdb format

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6430 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd prototypes for krb5_dbe_{en,de}code_last_pwd_change(), and
Chris Provenzano [Mon, 7 Aug 1995 15:48:31 +0000 (15:48 +0000)]
Add prototypes for krb5_dbe_{en,de}code_last_pwd_change(), and
krb5_dbe_{apw,cpw,ark,crk}(), the passowrd changing routines.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6429 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * cpw.c : Uses new kdb change password routines for ank, ark, cpw,
Chris Provenzano [Mon, 7 Aug 1995 15:47:07 +0000 (15:47 +0000)]
* cpw.c : Uses new kdb change password routines for ank, ark, cpw,
and crk. Also remove v4 variants of ank and cpw.
* krb5_edit.c : Deleted old variants of routines now in cpw.c
* kdb5_ed_ct.ct, kdb5_edit.M, tcl_wrapper.c:
Removed references to v4 variants of ank and cpw.
* kdb5_edit.h (enter_pwd_key()) : Removed proto, it's nolonger
necessary as it's a static routine in cpw.c

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6428 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoCheck for utmp[x].h
Paul Park [Mon, 7 Aug 1995 15:27:49 +0000 (15:27 +0000)]
Check for utmp[x].h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6427 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoReturn value from pty_open_ctty is non-zero on error, not negative
Ezra Peisach [Sat, 5 Aug 1995 13:25:57 +0000 (13:25 +0000)]
Return value from pty_open_ctty is non-zero on error, not negative

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6426 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * k5-int.h: Add prototypes for krb5_crypto_os_localaddr and
Tom Yu [Sat, 5 Aug 1995 03:59:53 +0000 (03:59 +0000)]
* k5-int.h: Add prototypes for krb5_crypto_os_localaddr and
krb5_crypto_us_timeofday

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6425 dc483132-0cff-0310-8789-dd5450dbe970

29 years agofirst pass attempt at cleaning up some gcc -Wall flames
Tom Yu [Sat, 5 Aug 1995 03:49:57 +0000 (03:49 +0000)]
first pass attempt at cleaning up some gcc -Wall flames
(see ChangeLogs for gory details)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6424 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoGet telnetd working with libpty
Sam Hartman [Sat, 5 Aug 1995 00:54:50 +0000 (00:54 +0000)]
Get telnetd working with libpty

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6423 dc483132-0cff-0310-8789-dd5450dbe970

29 years agolibpty.h (pty_cleanup): Fix argument type of pid to patch that used in the
Theodore Tso [Sat, 5 Aug 1995 00:33:45 +0000 (00:33 +0000)]
libpty.h (pty_cleanup): Fix argument type of pid to patch that used in the
C file.  Include <utmpx.h> if present.  Only include <utmp.h>
if it is present.

configure.in: Check for utmp.h and utmpx.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6422 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * Makefile.in: use libupdate so to not get multiple copies of
Tom Yu [Fri, 4 Aug 1995 21:15:20 +0000 (21:15 +0000)]
* Makefile.in: use libupdate so to not get multiple copies of
object files upon rebuild.

* vhangup.c (ptyint_vhangup): Make sure preprocessor directives
are at left margin.

* open_slave.c (pty_open_slave): Make sure preprocessor directives
are at left margin.

* open_ctty.c (pty_open_ctty): Make sure preprocessor directives
are at left margin.

* cleanup.c (pty_cleanup): Add missing declarations for retval and
fd.  Also, align preprocessor directives with left margin.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6421 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDescribe previous changes
Paul Park [Fri, 4 Aug 1995 20:36:44 +0000 (20:36 +0000)]
Describe previous changes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6420 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUpdate key handling prototypes and add new prototypes
Paul Park [Fri, 4 Aug 1995 20:36:33 +0000 (20:36 +0000)]
Update key handling prototypes and add new prototypes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6419 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRework key_{string_to,random}_keys. Find latest admin key instead of key[0]
Paul Park [Fri, 4 Aug 1995 20:36:07 +0000 (20:36 +0000)]
Rework key_{string_to,random}_keys.  Find latest admin key instead of key[0]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6418 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoMake passwd_check_opass_ok() available
Paul Park [Fri, 4 Aug 1995 20:35:33 +0000 (20:35 +0000)]
Make passwd_check_opass_ok() available

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6417 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd support for add-key and delete-key
Paul Park [Fri, 4 Aug 1995 20:35:01 +0000 (20:35 +0000)]
Add support for add-key and delete-key

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6416 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoReplace hand-decoded integers with kdb macros
Paul Park [Fri, 4 Aug 1995 20:33:35 +0000 (20:33 +0000)]
Replace hand-decoded integers with kdb macros

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6415 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse encode/decode macros to [de]serialize data going in/out of the database
Paul Park [Fri, 4 Aug 1995 20:32:55 +0000 (20:32 +0000)]
Use encode/decode macros to [de]serialize data going in/out of the database

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6414 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd new key/salt tuple handling modules
Paul Park [Fri, 4 Aug 1995 20:31:47 +0000 (20:31 +0000)]
Add new key/salt tuple handling modules

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6413 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd encode/decode macros for integers for use between kdb modules
Paul Park [Fri, 4 Aug 1995 20:31:20 +0000 (20:31 +0000)]
Add encode/decode macros for integers for use between kdb modules

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6412 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd prototype definitions for new libkadm functions
Paul Park [Fri, 4 Aug 1995 20:30:56 +0000 (20:30 +0000)]
Add prototype definitions for new libkadm functions

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6411 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd BAD_PW return to ADD-KEY and DELETE-KEY returns
Paul Park [Fri, 4 Aug 1995 20:09:59 +0000 (20:09 +0000)]
Add BAD_PW return to ADD-KEY and DELETE-KEY returns

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6410 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix up Copyright notice to have correct year (1995 instead of 1990)
Theodore Tso [Fri, 4 Aug 1995 16:55:59 +0000 (16:55 +0000)]
Fix up Copyright notice to have correct year (1995 instead of 1990)

Remove #include of mit-copyright.h, since we don't include it and its legal
value is pretty dubious anyway.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6409 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd .cvsignore to ignore configure
Ezra Peisach [Fri, 4 Aug 1995 10:48:36 +0000 (10:48 +0000)]
Add .cvsignore to ignore configure

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6408 dc483132-0cff-0310-8789-dd5450dbe970

29 years agomissed a #endif
Tom Yu [Fri, 4 Aug 1995 05:05:21 +0000 (05:05 +0000)]
missed a #endif

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6407 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * cleanup.c (pty_cleanup): Add missing declarations for retval and
Tom Yu [Fri, 4 Aug 1995 05:04:06 +0000 (05:04 +0000)]
* cleanup.c (pty_cleanup): Add missing declarations for retval and
fd.  Also, align preprocessor directives with left margin.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6406 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago * krlogind.c: don't include utmp.h, since libty.h grabs it
Tom Yu [Fri, 4 Aug 1995 04:54:04 +0000 (04:54 +0000)]
* krlogind.c: don't include utmp.h, since libty.h grabs it

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6405 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoadd get_principals and get_policies
Barry Jaspan [Thu, 3 Aug 1995 19:57:30 +0000 (19:57 +0000)]
add get_principals and get_policies

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6403 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAttempt to HUP processes associated with the pty when it is revoked if
Sam Hartman [Thu, 3 Aug 1995 19:26:56 +0000 (19:26 +0000)]
Attempt to HUP processes associated with the pty when it is revoked if
vhangup is not available.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6402 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd new error KRB5_KDB_BAD_SALTTYPE
Chris Provenzano [Thu, 3 Aug 1995 16:37:00 +0000 (16:37 +0000)]
Add new error KRB5_KDB_BAD_SALTTYPE

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6401 dc483132-0cff-0310-8789-dd5450dbe970

29 years agodo_as_req.c : Fix bug from new kdb changes.
Chris Provenzano [Thu, 3 Aug 1995 16:27:13 +0000 (16:27 +0000)]
do_as_req.c : Fix bug from new kdb changes.
kerberos_v4.c : Use new db format.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6400 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdded prototype for krb5_dbe_cpw() the new db entry change password routine
Chris Provenzano [Thu, 3 Aug 1995 16:22:07 +0000 (16:22 +0000)]
Added prototype for krb5_dbe_cpw() the new db entry change password routine

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6399 dc483132-0cff-0310-8789-dd5450dbe970

29 years agocpw.c : New change password code for kdb5_edit.
Chris Provenzano [Thu, 3 Aug 1995 16:17:45 +0000 (16:17 +0000)]
cpw.c : New change password code for kdb5_edit.
dumpv4.c : Get it to compile with new kdb format.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6398 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoRemove convert utility. All It's functionality has been moved to kdb5_edit
Chris Provenzano [Thu, 3 Aug 1995 16:11:06 +0000 (16:11 +0000)]
Remove convert utility. All It's functionality has been moved to kdb5_edit

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6397 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix kadmin5 output and remove av4k functions
Paul Park [Thu, 3 Aug 1995 16:08:11 +0000 (16:08 +0000)]
Fix kadmin5 output and remove av4k functions

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6396 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse string values in kdc.conf
Paul Park [Thu, 3 Aug 1995 16:07:23 +0000 (16:07 +0000)]
Use string values in kdc.conf

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6395 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoDescribe previous changes
Paul Park [Thu, 3 Aug 1995 16:06:43 +0000 (16:06 +0000)]
Describe previous changes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6394 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix krb5_decode_princ_contents()
Paul Park [Thu, 3 Aug 1995 16:05:59 +0000 (16:05 +0000)]
Fix krb5_decode_princ_contents()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6393 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix krb5_dbekd_encrypt_key_data()
Paul Park [Thu, 3 Aug 1995 16:05:35 +0000 (16:05 +0000)]
Fix krb5_dbekd_encrypt_key_data()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6392 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix krb5_aprof_get_deltat()
Paul Park [Thu, 3 Aug 1995 16:05:07 +0000 (16:05 +0000)]
Fix krb5_aprof_get_deltat()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6391 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoCompile something when Kerberos 4 disabled
Paul Park [Thu, 3 Aug 1995 16:04:32 +0000 (16:04 +0000)]
Compile something when Kerberos 4 disabled

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6390 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoEnsure padata is NULL with normal salt
Paul Park [Thu, 3 Aug 1995 16:04:14 +0000 (16:04 +0000)]
Ensure padata is NULL with normal salt

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6389 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoBlind replacements to get kadmin.old to compile
Paul Park [Thu, 3 Aug 1995 16:03:43 +0000 (16:03 +0000)]
Blind replacements to get kadmin.old to compile

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6388 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoInclude adm.h, update prototypes
Paul Park [Thu, 3 Aug 1995 16:02:46 +0000 (16:02 +0000)]
Include adm.h, update prototypes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6387 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse new database entry format. Update key_{string_to,encrypt,decrypt,random}_keys
Paul Park [Thu, 3 Aug 1995 16:02:25 +0000 (16:02 +0000)]
Use new database entry format.  Update key_{string_to,encrypt,decrypt,random}_keys

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6386 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse new database entry format. Use new calling sequences for key...()
Paul Park [Thu, 3 Aug 1995 16:01:56 +0000 (16:01 +0000)]
Use new database entry format.  Use new calling sequences for key...()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6385 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoHandle the key/salt pair list and pass it to key_init
Paul Park [Thu, 3 Aug 1995 16:01:17 +0000 (16:01 +0000)]
Handle the key/salt pair list and pass it to key_init

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6384 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoClean up debugging messages
Paul Park [Thu, 3 Aug 1995 16:01:04 +0000 (16:01 +0000)]
Clean up debugging messages

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6383 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoUse new database entry format and new libkadm string conversion
Paul Park [Thu, 3 Aug 1995 16:00:24 +0000 (16:00 +0000)]
Use new database entry format and new libkadm string conversion

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6382 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoCompile something when krb4 disabled
Paul Park [Thu, 3 Aug 1995 15:59:42 +0000 (15:59 +0000)]
Compile something when krb4 disabled

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6381 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago* Fix tests for length of slave buffer.
Sam Hartman [Wed, 2 Aug 1995 17:21:23 +0000 (17:21 +0000)]
* Fix tests for length of slave buffer.
* Add pty_init to initialize error tables.
* Call pty_init().

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6380 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago* Fix tests for length of slave buffer.
Sam Hartman [Wed, 2 Aug 1995 17:20:59 +0000 (17:20 +0000)]
* Fix tests for length of slave buffer.
* Add pty_init to initialize error tables.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6379 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago Change to use libpty for utmp handling in login.krb5. Remove
Sam Hartman [Tue, 1 Aug 1995 17:56:08 +0000 (17:56 +0000)]
Change to use libpty for utmp handling in login.krb5.  Remove
logutil.c as it is no longer needed.  Use new interface to pty_getpty.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6375 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago Make interface change so getpty doesn't overwrite
Sam Hartman [Tue, 1 Aug 1995 17:53:21 +0000 (17:53 +0000)]
Make interface change so getpty doesn't overwrite
user-supplied buffer.  Allow for telnetd not knowing PID of slave
process.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6374 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoFix typo TIOCSTTY to TIOCSCTTY in ioctl
Ezra Peisach [Tue, 1 Aug 1995 16:09:35 +0000 (16:09 +0000)]
Fix typo TIOCSTTY to TIOCSCTTY in ioctl

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6373 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoAdd missing logwtmp file
Sam Hartman [Tue, 1 Aug 1995 12:01:49 +0000 (12:01 +0000)]
Add missing logwtmp file

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6372 dc483132-0cff-0310-8789-dd5450dbe970

29 years ago* Don't always use the default realm on localhost, so that the domain to realm mappin...
Sam Hartman [Mon, 31 Jul 1995 22:21:19 +0000 (22:21 +0000)]
* Don't always use the default realm on localhost, so that the domain to realm mapping can be used to overide for localhost

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6371 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoCheck in first version of libpty
Sam Hartman [Mon, 31 Jul 1995 22:19:47 +0000 (22:19 +0000)]
Check in first version of libpty

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6370 dc483132-0cff-0310-8789-dd5450dbe970

29 years agoProtect test for Gcc under AIX so it works with non-Gcc compilers
Sam Hartman [Mon, 31 Jul 1995 22:19:13 +0000 (22:19 +0000)]
Protect test for Gcc under AIX so it works with non-Gcc compilers

Configure and build libpty.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6369 dc483132-0cff-0310-8789-dd5450dbe970