krb5.git
29 years agoRename initialize_slave.c to init_slave.c
Sam Hartman [Fri, 11 Aug 1995 20:14:00 +0000 (20:14 +0000)]
Rename initialize_slave.c to init_slave.c

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

29 years agoChanges for Solaris and Ultrix
Sam Hartman [Fri, 11 Aug 1995 19:48:16 +0000 (19:48 +0000)]
Changes for Solaris and Ultrix

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

29 years ago[secure-admin/3394] first cut at unit tests for locking
Barry Jaspan [Thu, 10 Aug 1995 22:43:34 +0000 (22:43 +0000)]
[secure-admin/3394] first cut at unit tests for locking

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

29 years agoInitial revision
Barry Jaspan [Thu, 10 Aug 1995 22:41:08 +0000 (22:41 +0000)]
Initial revision

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

29 years agoUse kadm_find_keytype() to find keys
Paul Park [Thu, 10 Aug 1995 18:57:55 +0000 (18:57 +0000)]
Use kadm_find_keytype() to find keys

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

29 years agoAdd kadm_find_keytype() to find key/salt pair
Paul Park [Thu, 10 Aug 1995 18:57:34 +0000 (18:57 +0000)]
Add kadm_find_keytype() to find key/salt pair

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

29 years agoUse adm_find_keytype() and adm_update_tl_attrs() to handle new db format
Paul Park [Thu, 10 Aug 1995 18:56:43 +0000 (18:56 +0000)]
Use adm_find_keytype() and adm_update_tl_attrs() to handle new db format

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

29 years agoRework adm_modify_kdb() and callers to use kdb5 cpw interfaces
Paul Park [Thu, 10 Aug 1995 18:56:01 +0000 (18:56 +0000)]
Rework adm_modify_kdb() and callers to use kdb5 cpw interfaces

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

29 years agoConsolidate handling of tagged database attributes
Paul Park [Thu, 10 Aug 1995 18:54:45 +0000 (18:54 +0000)]
Consolidate handling of tagged database attributes

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

29 years agoAlways define KRB5_MAX_FAIL_COUNT
Paul Park [Thu, 10 Aug 1995 18:54:01 +0000 (18:54 +0000)]
Always define KRB5_MAX_FAIL_COUNT

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

29 years agoAdd missing variable when KRBCONF_KDC_MODIFIES_KDB on
Paul Park [Thu, 10 Aug 1995 18:53:34 +0000 (18:53 +0000)]
Add missing variable when KRBCONF_KDC_MODIFIES_KDB on

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

29 years ago[secure-admin/3398] special error code for missing secure principals
Barry Jaspan [Thu, 10 Aug 1995 17:55:36 +0000 (17:55 +0000)]
[secure-admin/3398] special error code for missing secure principals

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

29 years ago[secure-admin/3398] special error code for missing secure principals
Barry Jaspan [Thu, 10 Aug 1995 15:20:00 +0000 (15:20 +0000)]
[secure-admin/3398] special error code for missing secure principals

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

29 years agoDDon't call vhangup() on Ultrix until after session. This actually turns out to...
Sam Hartman [Thu, 10 Aug 1995 01:16:38 +0000 (01:16 +0000)]
DDon't call vhangup() on Ultrix until after session.  This actually turns out to be secure

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

29 years agoUse key/salt list to determine which key types to make for the tgt principal
Paul Park [Wed, 9 Aug 1995 22:07:08 +0000 (22:07 +0000)]
Use key/salt list to determine which key types to make for the tgt principal

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

29 years agoRemove 'Last Modified by:' from regular expression for 'show'
Paul Park [Wed, 9 Aug 1995 21:27:54 +0000 (21:27 +0000)]
Remove 'Last Modified by:' from regular expression for 'show'

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

29 years agoDescribe previous changes
Paul Park [Wed, 9 Aug 1995 21:27:04 +0000 (21:27 +0000)]
Describe previous changes

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

29 years agoAdd prototype for key_master_encblock()
Paul Park [Wed, 9 Aug 1995 21:26:53 +0000 (21:26 +0000)]
Add prototype for key_master_encblock()

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

29 years agoFix Purify complaint
Paul Park [Wed, 9 Aug 1995 21:26:35 +0000 (21:26 +0000)]
Fix Purify complaint

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

29 years agoFix memory leak
Paul Park [Wed, 9 Aug 1995 21:26:24 +0000 (21:26 +0000)]
Fix memory leak

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

29 years agoNetwork slave bookkeeping fixup
Paul Park [Wed, 9 Aug 1995 21:25:56 +0000 (21:25 +0000)]
Network slave bookkeeping fixup

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

29 years agoAdd krb5_use_keytype for each keytype
Paul Park [Wed, 9 Aug 1995 21:25:23 +0000 (21:25 +0000)]
Add krb5_use_keytype for each keytype

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

29 years agoFirst pass at kdb5 change-password code. Fix memory leaks
Paul Park [Wed, 9 Aug 1995 21:24:45 +0000 (21:24 +0000)]
First pass at kdb5 change-password code.  Fix memory leaks

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

29 years agoFix various memory allocation and key/salt tuple related bugs
Paul Park [Wed, 9 Aug 1995 21:23:47 +0000 (21:23 +0000)]
Fix various memory allocation and key/salt tuple related bugs

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

29 years agodocument get_lock and release_lock, including permanent locks
Barry Jaspan [Wed, 9 Aug 1995 19:00:45 +0000 (19:00 +0000)]
document get_lock and release_lock, including permanent locks

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

29 years agoTerminate variable arglist to krb5_build_principal_ext()
Paul Park [Wed, 9 Aug 1995 13:49:39 +0000 (13:49 +0000)]
Terminate variable arglist to krb5_build_principal_ext()

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

29 years agoFix test for slave buffer length
Sam Hartman [Wed, 9 Aug 1995 04:20:41 +0000 (04:20 +0000)]
Fix test for slave buffer length

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

29 years ago * update_utmp.c (UTMP_FILE): _PATH_UTMP under NetBSD, not
Tom Yu [Wed, 9 Aug 1995 02:25:21 +0000 (02:25 +0000)]
* update_utmp.c (UTMP_FILE): _PATH_UTMP under NetBSD, not
_UTMP_PATH; also fix typo (missing '&' on reference to
ent)

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

29 years agofix typos
Tom Yu [Wed, 9 Aug 1995 01:43:38 +0000 (01:43 +0000)]
fix typos

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

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