krb5.git
29 years agoupdate_wtmp.c (ptyint_update_wtmp): If EMPTY is not defined, then set
Theodore Tso [Tue, 22 Aug 1995 03:48:42 +0000 (03:48 +0000)]
update_wtmp.c (ptyint_update_wtmp): If EMPTY is not defined, then set
ut.ut_type to 0 instead.

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

29 years agoRemove description of flags. This should be someplace common
Paul Park [Mon, 21 Aug 1995 21:22:33 +0000 (21:22 +0000)]
Remove description of flags.  This should be someplace common

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

29 years agoUse libkadm string handling routines
Paul Park [Mon, 21 Aug 1995 21:21:46 +0000 (21:21 +0000)]
Use libkadm string handling routines

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

29 years agoUse libkadm string handling routines
Paul Park [Mon, 21 Aug 1995 21:18:03 +0000 (21:18 +0000)]
Use libkadm string handling routines

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

29 years agoAdd prototype for timestamp_to_sfstring()
Paul Park [Mon, 21 Aug 1995 21:17:20 +0000 (21:17 +0000)]
Add prototype for timestamp_to_sfstring()

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

29 years agoUpdate description of kdc.conf
Paul Park [Mon, 21 Aug 1995 21:16:51 +0000 (21:16 +0000)]
Update description of kdc.conf

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

29 years agoUse libkadm string conversion routines
Paul Park [Mon, 21 Aug 1995 21:16:02 +0000 (21:16 +0000)]
Use libkadm string conversion routines

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

29 years agoUpdate description of -k and -e flags
Paul Park [Mon, 21 Aug 1995 21:15:27 +0000 (21:15 +0000)]
Update description of -k and -e flags

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

29 years agoMake new dump format text-based. Also add logic to read/write old format
Paul Park [Mon, 21 Aug 1995 21:14:32 +0000 (21:14 +0000)]
Make new dump format text-based.  Also add logic to read/write old format

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

29 years agoAdd description of -s and -R. Update description of -e and -k
Paul Park [Mon, 21 Aug 1995 21:12:53 +0000 (21:12 +0000)]
Add description of -s and -R.  Update description of -e and -k

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

29 years agoUse symbolic names for keytype and enctype
Paul Park [Mon, 21 Aug 1995 21:12:06 +0000 (21:12 +0000)]
Use symbolic names for keytype and enctype

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

29 years agoChange mkdir to mkdir -p while making directories for install
Paul Park [Mon, 21 Aug 1995 21:11:34 +0000 (21:11 +0000)]
Change mkdir to mkdir -p while making directories for install

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

29 years agoAdd timestamp_to_sfstring()
Paul Park [Mon, 21 Aug 1995 21:10:37 +0000 (21:10 +0000)]
Add timestamp_to_sfstring()

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

29 years agoDescribe previous changes
Paul Park [Fri, 18 Aug 1995 21:32:42 +0000 (21:32 +0000)]
Describe previous changes

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

29 years agoAdd multiprocess testing
Paul Park [Fri, 18 Aug 1995 21:32:28 +0000 (21:32 +0000)]
Add multiprocess testing

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

29 years agoFix database update and rename
Paul Park [Fri, 18 Aug 1995 21:32:14 +0000 (21:32 +0000)]
Fix database update and rename

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

29 years agoFix script handling
Paul Park [Fri, 18 Aug 1995 21:07:05 +0000 (21:07 +0000)]
Fix script handling

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

29 years ago * configure.in: Build ktutil now
Tom Yu [Fri, 18 Aug 1995 02:45:02 +0000 (02:45 +0000)]
* configure.in: Build ktutil now

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

29 years agoFirst cut of ktutil; change functions have not yet been added
Tom Yu [Fri, 18 Aug 1995 02:43:55 +0000 (02:43 +0000)]
First cut of ktutil; change functions have not yet been added

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

29 years agoDescribe previous changes
Paul Park [Thu, 17 Aug 1995 17:55:41 +0000 (17:55 +0000)]
Describe previous changes

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

29 years agoOnly keep the database open while processing one command
Paul Park [Thu, 17 Aug 1995 17:55:24 +0000 (17:55 +0000)]
Only keep the database open while processing one command

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

29 years agoAdd routines to open and close the database
Paul Park [Thu, 17 Aug 1995 17:54:56 +0000 (17:54 +0000)]
Add routines to open and close the database

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

29 years agoClose and re-open the database after updating principal stats
Paul Park [Thu, 17 Aug 1995 17:54:16 +0000 (17:54 +0000)]
Close and re-open the database after updating principal stats

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

29 years agoFix krb5_dbm_db_end_update() and remove unused code
Paul Park [Thu, 17 Aug 1995 17:53:25 +0000 (17:53 +0000)]
Fix krb5_dbm_db_end_update() and remove unused code

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

29 years agoChange fopen() to open() to yield an fd
Paul Park [Thu, 17 Aug 1995 14:43:41 +0000 (14:43 +0000)]
Change fopen() to open() to yield an fd

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

29 years agoPass fds to krb5_lock_file() and krb5_unlock_file()
Chris Provenzano [Wed, 16 Aug 1995 07:31:37 +0000 (07:31 +0000)]
Pass fds to krb5_lock_file() and krb5_unlock_file()

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

29 years agoPass the fd in instead of converting it from FILE *
Chris Provenzano [Wed, 16 Aug 1995 07:30:49 +0000 (07:30 +0000)]
Pass the fd in instead of converting it from FILE *

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

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