krb5.git
29 years agoUpdate for GSSAPI-V2. Add -v2 switch to use some of these features
Paul Park [Thu, 31 Aug 1995 17:35:06 +0000 (17:35 +0000)]
Update for GSSAPI-V2.  Add -v2 switch to use some of these features

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

29 years agoUpdate to GSSAPI-V2
Paul Park [Thu, 31 Aug 1995 17:33:55 +0000 (17:33 +0000)]
Update to GSSAPI-V2

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

29 years agoAdd checks for stddef.h and xom.h for GSSAPI
Paul Park [Thu, 31 Aug 1995 17:31:40 +0000 (17:31 +0000)]
Add checks for stddef.h and xom.h for GSSAPI

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

29 years agoinit_sec_context.c (krb5_gss_init_sec_context): Remove duplicated
Ezra Peisach [Wed, 30 Aug 1995 02:45:03 +0000 (02:45 +0000)]
init_sec_context.c (krb5_gss_init_sec_context):  Remove duplicated
cleanup code.

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

29 years agoZero out newly allocated context so encrypt_block doesnt have garbage
Paul Park [Tue, 29 Aug 1995 21:50:19 +0000 (21:50 +0000)]
Zero out newly allocated context so encrypt_block doesnt have garbage

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

29 years agoAdd description of strings recognized by str_conv.c
Paul Park [Tue, 29 Aug 1995 19:33:00 +0000 (19:33 +0000)]
Add description of strings recognized by str_conv.c

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

29 years agoReplace explicit library list with $(LIBS) so we get -lsocket on Solaris
Paul Park [Tue, 29 Aug 1995 18:47:54 +0000 (18:47 +0000)]
Replace explicit library list with $(LIBS) so we get -lsocket on Solaris

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

29 years agoFix compilation errors
Paul Park [Tue, 29 Aug 1995 18:46:17 +0000 (18:46 +0000)]
Fix compilation errors

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

29 years agoAdd serialization support for profile
Paul Park [Tue, 29 Aug 1995 18:45:36 +0000 (18:45 +0000)]
Add serialization support for profile

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

29 years agoUse new gss_{im,ex}port_sec_context
Paul Park [Tue, 29 Aug 1995 18:44:47 +0000 (18:44 +0000)]
Use new gss_{im,ex}port_sec_context

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

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

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

29 years agoAdd magic numbers for GSSAPI data structures
Paul Park [Tue, 29 Aug 1995 18:43:32 +0000 (18:43 +0000)]
Add magic numbers for GSSAPI data structures

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

29 years agoAdd prototypes for {im,ex}port_sec_context and kg_ser_context_init
Paul Park [Tue, 29 Aug 1995 18:43:15 +0000 (18:43 +0000)]
Add prototypes for {im,ex}port_sec_context and kg_ser_context_init

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

29 years agoAdd {im,ex}port_sec_context wrapper routines
Paul Park [Tue, 29 Aug 1995 18:42:39 +0000 (18:42 +0000)]
Add {im,ex}port_sec_context wrapper routines

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

29 years agoAdd new modules to support {im,ex}port of GSSAPI context
Paul Park [Tue, 29 Aug 1995 18:42:09 +0000 (18:42 +0000)]
Add new modules to support {im,ex}port of GSSAPI context

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

29 years agoAdd prototypes for gss_{im,ex}port_sec_context
Paul Park [Tue, 29 Aug 1995 18:40:17 +0000 (18:40 +0000)]
Add prototypes for gss_{im,ex}port_sec_context

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

29 years agoNew test module for serialization routines
Paul Park [Tue, 29 Aug 1995 18:39:28 +0000 (18:39 +0000)]
New test module for serialization routines

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

29 years agoAdd serialization support for K5 data structures
Paul Park [Tue, 29 Aug 1995 18:39:10 +0000 (18:39 +0000)]
Add serialization support for K5 data structures

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

29 years agoCopy keyblock from message instead of setting a pointer to data which is going to...
Paul Park [Tue, 29 Aug 1995 18:37:55 +0000 (18:37 +0000)]
Copy keyblock from message instead of setting a pointer to data which is going to be freed

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

29 years agoFree allocated serializers when releasing context
Paul Park [Tue, 29 Aug 1995 18:37:15 +0000 (18:37 +0000)]
Free allocated serializers when releasing context

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

29 years agoSet magic number when initializing auth_context
Paul Park [Tue, 29 Aug 1995 18:36:56 +0000 (18:36 +0000)]
Set magic number when initializing auth_context

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

29 years agoAdd magic number to krb5_auth_context
Paul Park [Tue, 29 Aug 1995 18:35:51 +0000 (18:35 +0000)]
Add magic number to krb5_auth_context

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

29 years agoAdd rcache serialization support
Paul Park [Tue, 29 Aug 1995 18:35:21 +0000 (18:35 +0000)]
Add rcache serialization support

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

29 years agoAdd keytab serialization support
Paul Park [Tue, 29 Aug 1995 18:34:36 +0000 (18:34 +0000)]
Add keytab serialization support

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

29 years agoAdd magic numbers for DB_CONTEXT, AUTH_CONTEXT, KEYTAB, RCACHE and CCACHE
Paul Park [Tue, 29 Aug 1995 18:33:47 +0000 (18:33 +0000)]
Add magic numbers for DB_CONTEXT, AUTH_CONTEXT, KEYTAB, RCACHE and CCACHE

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

29 years agoAdd ccache serialization support
Paul Park [Tue, 29 Aug 1995 18:32:58 +0000 (18:32 +0000)]
Add ccache serialization support

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

29 years agoAdd context serialization support. Fix gcc -Wall complaints
Paul Park [Tue, 29 Aug 1995 18:31:56 +0000 (18:31 +0000)]
Add context serialization support.  Fix gcc -Wall complaints

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

29 years agoSet and use priv_size in the krb5_encrypt_block
Paul Park [Tue, 29 Aug 1995 18:31:15 +0000 (18:31 +0000)]
Set and use priv_size in the krb5_encrypt_block

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

29 years agoAdd prototype for database context serializer
Paul Park [Tue, 29 Aug 1995 18:30:29 +0000 (18:30 +0000)]
Add prototype for database context serializer

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

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

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

29 years agoAdd serializer definitions
Paul Park [Tue, 29 Aug 1995 18:29:25 +0000 (18:29 +0000)]
Add serializer definitions

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

29 years agoAdd priv_size to krb5_encrypt_block
Paul Park [Tue, 29 Aug 1995 18:29:10 +0000 (18:29 +0000)]
Add priv_size to krb5_encrypt_block

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

29 years agokrb5_decode_test.c (main): Add tests for decode_krb5_{etype_info,alt_method}
Theodore Tso [Mon, 28 Aug 1995 21:03:13 +0000 (21:03 +0000)]
krb5_decode_test.c (main): Add tests for decode_krb5_{etype_info,alt_method}

krb5_encode_test.c (main): Add tests for encode_krb5_{etype_info,alt_method}

ktest_equal.c (ktest_equal_krb5_alt_method,
ktest_equal_krb5_etype_info_entry,
ktest_equal_krb5_etype_info) New functions to test
{encode,decode}_krb5_{etype_info,alt_method}.

ktest.c (ktest_make_sample_etype_info_entry,
ktest_make_sample_etype_info,
ktest_make_sample_alt_method,
ktest_destroy_etype_info_entry, ktest_destroy_etype_info):
New functions to test {encode,decode}_krb5_{etype_info,alt_method}.

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

29 years agokrb5_decode.c (decode_krb5_alt_method, decode_krb5_etype_info): New
Theodore Tso [Mon, 28 Aug 1995 20:24:30 +0000 (20:24 +0000)]
krb5_decode.c (decode_krb5_alt_method, decode_krb5_etype_info): New
functions for decoding some new data structures.

krb5_encode.c (encode_krb5_alt_method, encode_krb5_etype_info):
      New functions for encoding some new data structures.

asn1_k_decode.c (asn1_decode_etype_info_entry,
asn1_decode_etype_info): Added new functions to decode some
new data structures.

asn1_k_encode.c (asn1_encode_etype_info_entry,
asn1_encode_etype_info): Added new functions to encode some
new data structures.

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

29 years agoAdded new error codes KV5M_ALT_METHOD and KV5M_ETYPE_INFO_ENTRY
Theodore Tso [Mon, 28 Aug 1995 20:09:33 +0000 (20:09 +0000)]
Added new error codes KV5M_ALT_METHOD and KV5M_ETYPE_INFO_ENTRY

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

29 years agoAdded two new data structures: krb5_alt_method and krb5_etype_info
Theodore Tso [Mon, 28 Aug 1995 20:01:39 +0000 (20:01 +0000)]
Added two new data structures: krb5_alt_method and krb5_etype_info
(and krb5_etype_info_entry).

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

29 years agoAdd documentation on the -f and -F options
Ezra Peisach [Sun, 27 Aug 1995 19:39:19 +0000 (19:39 +0000)]
Add documentation on the -f and -F options

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

29 years agoTest the sample sever/client in both standalone and pseudo-inetd modes
Ezra Peisach [Sat, 26 Aug 1995 22:27:24 +0000 (22:27 +0000)]
Test the sample sever/client in both standalone and pseudo-inetd modes

Hopefully this will prevent future cases of the documented test-case to
fail.

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

29 years agoFind path to the t_inetd program
Ezra Peisach [Sat, 26 Aug 1995 22:25:55 +0000 (22:25 +0000)]
Find path to the t_inetd program

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

29 years agoAdd t_inetd.c to the source tree. This program simulates the starting of
Ezra Peisach [Sat, 26 Aug 1995 22:25:20 +0000 (22:25 +0000)]
Add t_inetd.c to the source tree. This program simulates the starting of
a daemon from inetd by binding to a socket and then execing the desired
program with specified arguments.

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

29 years ago * f_cksum.c: Change code to match prototypes
Ezra Peisach [Sat, 26 Aug 1995 17:13:29 +0000 (17:13 +0000)]
    * f_cksum.c: Change code to match prototypes

* f_cbc.c, f_ecb, f_parity, f_pcbc: Change des_cblock to
mit_des_cblock and  des_key_schedule to
mit_des_key_schedule. Also include des_int.h.

* destest.c: Change des_cblock to mit_des_cblock and add local
prototypes.

* cs_entry.c: Remove prototypes for mit_des_cbc_cksum and
mit_des_cbc_cksum. Now in des_int.h.

* cbc_cksum.c, string2key.c: Remove casts in call to
mit_des_cbc_cksum

* des_int.h: Add prototype for mit_des_cbc_verf_cksum. Change
return code for mit_des_cbc_cksum to match source.

* des.h: Remove unused structures and defines.

Short end - fix des_int.h to reflect reality (i.e. source code) and then
fix rest of code to agree. Also removed the use of old structures such
as des_cblock and  des_key_schedule. Instead the the newer
mit_des_cblock and mit_des_schedule are used.

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

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