Chris Provenzano [Wed, 6 Sep 1995 03:29:17 +0000 (03:29 +0000)]
* destest.c, random_key.c, string2key.c, verify.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
* init_rkey.c (mit_des_init_random_key()),
* string2key.c (mit_des_string_to_key()) : Allow for any DES keytype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6676
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:28:39 +0000 (03:28 +0000)]
* cryptoconf.c : Remove krb5_csarray.
* cryptoconf.c, des_crc.c, des_md5.c, raw_des.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6675
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:28:12 +0000 (03:28 +0000)]
* cnv_tkt_skey.c, getcred.c, k524init.c, krb524d.c, test.c :
Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6674
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:27:25 +0000 (03:27 +0000)]
* do_as_req.c, do_tgs_req.c, kerberos_v4.c, main.c: Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6673
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:26:42 +0000 (03:26 +0000)]
* admin_server.c, kadm_funcs.c, kadm_ser_wrap.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6672
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:25:49 +0000 (03:25 +0000)]
* adm_adm_func.c, adm_fmt_inq.c, adm_funcs.c, adm_process.c,
* adm_server.c, adm_v4_pwd.c adm_v4_pwd.c: Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6671
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:25:21 +0000 (03:25 +0000)]
* admin.c, kadm5_defs.h, srv_key.c, srv_main.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6670
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:24:47 +0000 (03:24 +0000)]
* osconf.h : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6669
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:24:09 +0000 (03:24 +0000)]
* adm_proto.h : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6668
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:23:01 +0000 (03:23 +0000)]
* k5-int.h, krb5.hin : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6667
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:22:21 +0000 (03:22 +0000)]
* krb_auth_su.c : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6666
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:22:00 +0000 (03:22 +0000)]
* klist.c : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6665
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:21:12 +0000 (03:21 +0000)]
* kerberos5.c : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6664
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:20:42 +0000 (03:20 +0000)]
* kdb5_stash.c : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6663
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:20:07 +0000 (03:20 +0000)]
* cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6662
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 6 Sep 1995 03:19:20 +0000 (03:19 +0000)]
* kdb5_create.c : Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6661
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Tue, 5 Sep 1995 01:16:40 +0000 (01:16 +0000)]
Reflect the fact that krb5_lock_file and krb5_unlock_file take fd's instead
of FILE *'s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6659
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 4 Sep 1995 18:25:54 +0000 (18:25 +0000)]
gss-misc.c: Either include stdlib.h or declare malloc
configure.in: Check for stdlib.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6658
dc483132-0cff-0310-8789-
dd5450dbe970
Ezra Peisach [Mon, 4 Sep 1995 18:14:26 +0000 (18:14 +0000)]
Add const declarations to make remove warnings about converting
a pointer to const string to a non-const type. Make this change consistant
throughout the sources.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6657
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 2 Sep 1995 03:43:05 +0000 (03:43 +0000)]
kdc_preauth.c: New file, to contain the server-side preauthentication
routines.
do_as_req.c (process_as_req): Move preauthentication code to
kdc_preauth.c, for better modularity.
do_as_req.c (prepare_error_as): Add new argument to this function so
that the e_data field may be passed in and included in the KRB_ERROR
messsage which is passed back to the user.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6656
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 2 Sep 1995 03:27:35 +0000 (03:27 +0000)]
Add documentation for the clockskew and kdc_timesync relations in the
libdefaults section.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6655
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 2 Sep 1995 03:26:19 +0000 (03:26 +0000)]
k5-int.h: Added clockskew, kdc_req_sumtype, and kdc_default_options to
the krb5_context structure.
krb5.hin: Added expected nonce and request_time fields to the
krb5_response structure. The fields are used to pass information
from krb5_send_tgs() to krb5_get_cred_via_tkt() so that it can do
sanity checking.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6654
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Sat, 2 Sep 1995 03:24:58 +0000 (03:24 +0000)]
get_in_tkt.c (krb5_get_in_tkt): If kdc_settime is enabled, then set
the time_offset fields from the returned ticket's authtime value.
init_ctx.c (krb5_init_context): Initialize new fields in krb5_context
(clockskew, kdc_req_sumtype, and kdc_default_options).
gc_via_tkt.c (krb5_get_cred_via_tkt): Perform the necessary
sanity checking on the KDC response to make sure we detect tampering.
send_tgs.c (krb5_send_tgs): Set the expected nonce in the response
structure.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6653
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 1 Sep 1995 18:39:47 +0000 (18:39 +0000)]
Add test for old dump format
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6652
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 1 Sep 1995 17:29:15 +0000 (17:29 +0000)]
Makefile.in (check-unix): Add a test case to make sure
krb5_get_host_realm does something sane when passed in a
hostname which doesn't have a default domain.
hst_realm.c (krb5_get_host_realm): If an hostname does not have
a domain, don't try to get a domain default (which
results in a strange error being returned).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6651
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 1 Sep 1995 15:18:59 +0000 (15:18 +0000)]
Remove __dbtest after done with make check
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6650
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Fri, 1 Sep 1995 15:18:02 +0000 (15:18 +0000)]
Serialize new time offset fields in the os_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6649
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 1 Sep 1995 05:45:06 +0000 (05:45 +0000)]
Add time offset field to the os_context structure. This offset is
added to the system clock time to produce the "true" time.
Added prototypes for the functions which manipulate the time offset
structures: krb5_set_real_time(), krb5_set_debugging_time(),
krb5_use_natural_time(), krb5_get_time_offsets(), and
krb5_set_time_offsets().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6648
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 1 Sep 1995 05:39:48 +0000 (05:39 +0000)]
* toffset.c: Added new file which implements the abstract interfaces
for manipulating the time offset fields in the os context.
ustime.c (krb5_us_timeofday): Add support for using the time offset
fields in the os context.
timeofday.c (krb5_timeofday): Add support for using the time offset
fields in the os context.
init_os_ctx.c (krb5_os_init_context): Initialize the time offset and
flags fields in the os context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6647
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 21:25:59 +0000 (21:25 +0000)]
Test aname_to_lname during make check
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6646
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 20:12:02 +0000 (20:12 +0000)]
Describe previous changes
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6645
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 20:11:46 +0000 (20:11 +0000)]
Update ACL file description
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6644
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 20:11:27 +0000 (20:11 +0000)]
Provide object for ACL decision
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6643
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 20:10:57 +0000 (20:10 +0000)]
Make access decision based on subject and object, not just subject
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6642
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 18:21:01 +0000 (18:21 +0000)]
Set magic number in krb5_rcache
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6641
dc483132-0cff-0310-8789-
dd5450dbe970
Paul Park [Thu, 31 Aug 1995 17:35:48 +0000 (17:35 +0000)]
Run using both GSSAPI and GSSAPI-V2 functions
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6640
dc483132-0cff-0310-8789-
dd5450dbe970
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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