krb5.git
29 years agodecrypt_key.c, encrypt_key.c: Only save the salt data if salt type != 0.
Chris Provenzano [Wed, 16 Aug 1995 07:28:49 +0000 (07:28 +0000)]
decrypt_key.c, encrypt_key.c: Only save the salt data if salt type != 0.
kdb_dbm.c: Rewritten to NOT open/close the db for every transaction.

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

29 years agoPass fds to krb5_lock_file() and krb5_unlock_file()
Chris Provenzano [Wed, 16 Aug 1995 07:27:51 +0000 (07:27 +0000)]
Pass fds to krb5_lock_file() and krb5_unlock_file()
Add a missing #ifdef KRBCONF_KDC_MODIFIES_KDB for update_client and
updating the database.

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

29 years agokrb5_lock_file(), krb5_unlock_file():
Chris Provenzano [Wed, 16 Aug 1995 07:27:06 +0000 (07:27 +0000)]
krb5_lock_file(), krb5_unlock_file():
Use fds instead of FILE *s and don't pass the filename.

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

29 years agofix spelling of "canonicalize"
Mark Eichin [Wed, 16 Aug 1995 01:54:09 +0000 (01:54 +0000)]
fix spelling of "canonicalize"

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

29 years ago* prof_parse.c (strip_line,parse_line): Declare as static
Ezra Peisach [Tue, 15 Aug 1995 21:20:25 +0000 (21:20 +0000)]
* prof_parse.c (strip_line,parse_line): Declare as static

* prof_int.h: Add missing prototypes

Cleanup -Wmissing_prototypes complaints

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

29 years ago* configure.in: For OSF/1 specify that the -rpath directive takes
Ezra Peisach [Tue, 15 Aug 1995 20:22:59 +0000 (20:22 +0000)]
* configure.in: For OSF/1 specify that the -rpath directive takes
a colon separated path.

* aclocal.m4 (SHLIB_RPATH_DIRS): Allow for directory path to be

This was a problem with OSF/1 where specifying -rpath multiple times
only includes the final one in the library. A colon separted path is the
correct invocation.

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

29 years agoDescribe previous changes
Paul Park [Tue, 15 Aug 1995 18:45:26 +0000 (18:45 +0000)]
Describe previous changes

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

29 years agoUse krb5_dbe_find_keytype() to find appropriate key. Fix gcc -Wall complaints
Paul Park [Tue, 15 Aug 1995 18:45:17 +0000 (18:45 +0000)]
Use krb5_dbe_find_keytype() to find appropriate key.  Fix gcc -Wall complaints

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

29 years agoUse per-realm key/salt list to find appropriate keys. Fix gcc -Wall complaints
Paul Park [Tue, 15 Aug 1995 18:43:33 +0000 (18:43 +0000)]
Use per-realm key/salt list to find appropriate keys.  Fix gcc -Wall complaints

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

29 years agoGenerate/use per-realm key/salt list. Fix gcc -Wall complaints
Paul Park [Tue, 15 Aug 1995 18:42:31 +0000 (18:42 +0000)]
Generate/use per-realm key/salt list.  Fix gcc -Wall complaints

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

29 years agoAdd key/salt list to per-relm data
Paul Park [Tue, 15 Aug 1995 18:41:58 +0000 (18:41 +0000)]
Add key/salt list to per-relm data

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

29 years agoReplace kadm_find_keytype() with krb5_dbe_find_keytype()
Paul Park [Tue, 15 Aug 1995 18:32:28 +0000 (18:32 +0000)]
Replace kadm_find_keytype() with krb5_dbe_find_keytype()

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

29 years agoReplace adm_find_keytype() with krb5_dbe_find_keytype()
Paul Park [Tue, 15 Aug 1995 18:30:42 +0000 (18:30 +0000)]
Replace adm_find_keytype() with krb5_dbe_find_keytype()

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

29 years agoReplace key_name_to_data() with krb5_dbe_find_keytype()
Paul Park [Tue, 15 Aug 1995 18:29:06 +0000 (18:29 +0000)]
Replace key_name_to_data() with krb5_dbe_find_keytype()

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

29 years agoAdd prototype for krb5_dbe_find_keytype()
Paul Park [Tue, 15 Aug 1995 18:27:33 +0000 (18:27 +0000)]
Add prototype for krb5_dbe_find_keytype()

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

29 years agoAdd krb5_dbe_find_keytype() and clean up gcc -Wall complaints
Paul Park [Tue, 15 Aug 1995 18:26:40 +0000 (18:26 +0000)]
Add krb5_dbe_find_keytype() and clean up gcc -Wall complaints

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

29 years agoAdd support for -s scriptfile and fix gcc -Wall complaints
Paul Park [Tue, 15 Aug 1995 18:25:04 +0000 (18:25 +0000)]
Add support for -s scriptfile and fix gcc -Wall complaints

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

29 years ago * Makefile.in: Change some spaces back to tabs
Tom Yu [Tue, 15 Aug 1995 05:44:56 +0000 (05:44 +0000)]
* Makefile.in: Change some spaces back to tabs

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

29 years ago * ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1
Tom Yu [Tue, 15 Aug 1995 05:44:14 +0000 (05:44 +0000)]
* ktf_util.c: return KRB5_KEYTAB_BADVNO instead of -1

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

29 years agoPut back production rule for kerbsrc-nt.zip which mysteriously
Theodore Tso [Sat, 12 Aug 1995 02:38:41 +0000 (02:38 +0000)]
Put back production rule for kerbsrc-nt.zip which mysteriously
disappeared after Keith checked in the Macintosh changes.

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

29 years agoRestore original "null action" Makefile which tell a Unix user to run
Theodore Tso [Sat, 12 Aug 1995 02:35:47 +0000 (02:35 +0000)]
Restore original "null action" Makefile which tell a Unix user to run
"configure" first.  (This was ONCE AGAIN overwritten when Keith did a
Macintosh commit.  Keith, be careful about this!!)

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

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