krb5.git
29 years ago * des_crc.c, des_md5.c, raw_des.c: Remove casting in call to
Ezra Peisach [Sat, 26 Aug 1995 17:09:07 +0000 (17:09 +0000)]
* des_crc.c, des_md5.c, raw_des.c: Remove casting in call to
mit_des_cbc_encrypt.

Fixing headers in crypto/des to pass -fmissing_prototypes complaints.

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

29 years ago * krb5_encode_test.c (encoder_print_results): If trval2 returns
Ezra Peisach [Sat, 26 Aug 1995 16:48:45 +0000 (16:48 +0000)]
* krb5_encode_test.c (encoder_print_results): If trval2 returns
non zero, indicate with error before exiting.

* trval.c (do_cons): Initialize return value to zero in case of
zero length data. (instead of random stack value).

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

29 years agoAdded prototypes for encode_krb5_padata_sequence and
Theodore Tso [Sat, 26 Aug 1995 03:11:57 +0000 (03:11 +0000)]
Added prototypes for encode_krb5_padata_sequence and
decode_krb5_padata_sequence.

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

29 years agokrb5_encode_test.c (main): Add tests for encode_krb5_padata_sequence()
Theodore Tso [Sat, 26 Aug 1995 02:03:30 +0000 (02:03 +0000)]
krb5_encode_test.c (main): Add tests for encode_krb5_padata_sequence()

krb5_decode_test.c (main): Add tests for decode_krb5_padata_sequence().

ktest.c (ktest_make_sample_empty_pa_data_array): New function which creates
an empty pa_data array.

trval.c:  Various -Wall cleanups.

Makefile.in (trval): Add rule to build the standalone trval program.

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

29 years agokrb5_encode.c (encode_krb5_padata_sequence): New function which encodes a
Theodore Tso [Sat, 26 Aug 1995 01:46:44 +0000 (01:46 +0000)]
krb5_encode.c (encode_krb5_padata_sequence): New function which encodes a
sequence of pa_data elements

krb5_decode.c (decode_krb5_padata_sequence): New function which decodes a
 sequence of pa_data elements.

asn1_k_encode.c (asn1_encode_sequence_of_pa_data): Make it possible to encode
sequence of zero pa_data elements.

asn1_k_decode.c (decode_array_body): Make it possible to decode SEQUENCE OF
encodinges of zero items (which is legal according to ASN.1)

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

29 years agoAdd v4 dump load logic from kdb5_convert
Paul Park [Fri, 25 Aug 1995 21:46:33 +0000 (21:46 +0000)]
Add v4 dump load logic from kdb5_convert

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

29 years agoRemove duplicated logic
Paul Park [Fri, 25 Aug 1995 21:46:04 +0000 (21:46 +0000)]
Remove duplicated logic

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

29 years agoFix automatic generation of changepw service
Paul Park [Fri, 25 Aug 1995 21:41:40 +0000 (21:41 +0000)]
Fix automatic generation of changepw service

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

29 years agoRemoved unused (and misleading) macros KEYTYPE_IS_LOCAL,
Theodore Tso [Fri, 25 Aug 1995 21:13:58 +0000 (21:13 +0000)]
Removed unused (and misleading) macros KEYTYPE_IS_LOCAL,
ETYPE_IS_LOCAL, CKSUMTYPE_IS_LOCAL

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

29 years agoUpdate file list
Theodore Tso [Thu, 24 Aug 1995 23:29:20 +0000 (23:29 +0000)]
Update file list

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

29 years agoUpdate file list
Theodore Tso [Thu, 24 Aug 1995 23:08:14 +0000 (23:08 +0000)]
Update file list

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

29 years agoUpdate file list
Theodore Tso [Thu, 24 Aug 1995 22:50:33 +0000 (22:50 +0000)]
Update file list

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

29 years agoUpdate file list
Theodore Tso [Thu, 24 Aug 1995 22:49:24 +0000 (22:49 +0000)]
Update file list

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

29 years agoUnifdef isn't used anymore --- it was only used with Imake. Removing it,
Theodore Tso [Thu, 24 Aug 1995 22:25:13 +0000 (22:25 +0000)]
Unifdef isn't used anymore --- it was only used with Imake.  Removing it,
to make the distribution (marginally) smaller.

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

29 years agoUpdated for autoconf 2.4
Theodore Tso [Thu, 24 Aug 1995 22:23:35 +0000 (22:23 +0000)]
Updated for autoconf 2.4

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

29 years agoUpdated to reflect ct_c.* to ct_c.*.in filename changes
Theodore Tso [Thu, 24 Aug 1995 22:22:54 +0000 (22:22 +0000)]
Updated to reflect ct_c.* to ct_c.*.in filename changes

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

29 years agoaclocal.m4 (_MAKE_SUBDIRS): Change subdir recursion so that
Theodore Tso [Wed, 23 Aug 1995 02:27:23 +0000 (02:27 +0000)]
aclocal.m4 (_MAKE_SUBDIRS): Change subdir recursion so that
a missing subdirectory is skipped.

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

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