krb5.git
29 years ago * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :
Chris Provenzano [Wed, 6 Sep 1995 18:59:17 +0000 (18:59 +0000)]
    * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c :
s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g

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

29 years ago * kdb5_create.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
Chris Provenzano [Wed, 6 Sep 1995 18:58:49 +0000 (18:58 +0000)]
* kdb5_create.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g

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

29 years ago * krb524d.c (main): set timeout inside while loop to prevent spin.
Mark Eichin [Wed, 6 Sep 1995 04:24:13 +0000 (04:24 +0000)]
* krb524d.c (main): set timeout inside while loop to prevent spin.
(cleanup_and_exit): free master_princ or close keytab, and free
the global context, to eliminate spurious storage use in malloc
debugging.
(init_master): free realm.

(emailed to bjaspan@cam.ov.com seperately.)

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

29 years ago * kdb5_verify.c : Remove krb5_enctype references, and replace with
Chris Provenzano [Wed, 6 Sep 1995 03:47:59 +0000 (03:47 +0000)]
    * kdb5_verify.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * kdc5_hammer.c : Remove krb5_enctype references, and replace with
Chris Provenzano [Wed, 6 Sep 1995 03:47:41 +0000 (03:47 +0000)]
    * kdc5_hammer.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * kdb5_mkdums.c : Remove krb5_enctype references, and replace with
Chris Provenzano [Wed, 6 Sep 1995 03:46:57 +0000 (03:46 +0000)]
    * kdb5_mkdums.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * ktest.c, ktest.h, ktest_equal.c, ktest_equal.h : Remove krb5_enctype
Chris Provenzano [Wed, 6 Sep 1995 03:46:24 +0000 (03:46 +0000)]
    * ktest.c, ktest.h, ktest_equal.c, ktest_equal.h : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate

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

29 years ago * decode_kdc.c, decrypt_tk.c, encode_kdc.c, encrypt_tk.c, gc_frm_kdc.c
Chris Provenzano [Wed, 6 Sep 1995 03:45:51 +0000 (03:45 +0000)]
    * decode_kdc.c, decrypt_tk.c, encode_kdc.c, encrypt_tk.c, gc_frm_kdc.c
* gc_via_tkt.c, get_in_tkt.c, in_tkt_ktb.c, in_tkt_pwd.c, in_tkt_sky.c
* init_ctx.c, kdc_rep_dc.c, mk_cred.c, mk_priv.c, mk_rep.c
* mk_req_ext.c, rd_cred.c, rd_priv.c, rd_rep.c, rd_req_dec.c,
* send_tgs.c, ser_ctx.c, ser_eblk.c, ser_key.c, t_ser.c:
Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * ktf_util.c : Remove krb5_enctype references, and replace with
Chris Provenzano [Wed, 6 Sep 1995 03:44:51 +0000 (03:44 +0000)]
    * ktf_util.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * f_kdc_rq.c : Remove krb5_enctype references, and replace with
Chris Provenzano [Wed, 6 Sep 1995 03:44:30 +0000 (03:44 +0000)]
    * f_kdc_rq.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * scc.h : Add another KRB5_SCC_FVNO but don't up the default.
Chris Provenzano [Wed, 6 Sep 1995 03:44:03 +0000 (03:44 +0000)]
    * scc.h : Add another KRB5_SCC_FVNO but don't up the default.
        * scc_gennew.c, scc_maybe.c : New version saves a length after
                version for whatever we want to put into the ccache before
                the first credential (like a time skew)
        * scc_read.c, scc_write.c : Remove krb5_enctype references, and
                replace with krb5_keytype where appropriate

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

29 years ago * fcc.h : Add another KRB5_FCC_FVNO but don't up the default.
Chris Provenzano [Wed, 6 Sep 1995 03:33:29 +0000 (03:33 +0000)]
* fcc.h : Add another KRB5_FCC_FVNO but don't up the default.
* fcc_gennew.c, fcc_maybe.c : New version saves a length after
version for whatever we want to put into the ccache before
the first credential (like a time skew)
        * fcc_read.c, fcc_write.c : Remove krb5_enctype references, and
replace with krb5_keytype where appropriate

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

29 years ago * asn1_k_decode.c, asn1_k_decode.h, asn1_k_encode.c, asn1_k_encode.h
Chris Provenzano [Wed, 6 Sep 1995 03:32:46 +0000 (03:32 +0000)]
    * asn1_k_decode.c, asn1_k_decode.h, asn1_k_encode.c, asn1_k_encode.h
* krb5_decode.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate

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

29 years ago * decrypt_key.c, fetch_mkey.c, t_kdb.c : Remove krb5_enctype
Chris Provenzano [Wed, 6 Sep 1995 03:32:21 +0000 (03:32 +0000)]
    * decrypt_key.c, fetch_mkey.c, t_kdb.c : Remove krb5_enctype
references, and replace with krb5_keytype where appropriate

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

29 years ago * adm_kt_dec.c, adm_kt_enc.c, alt_prof.c, str_conv.c:
Chris Provenzano [Wed, 6 Sep 1995 03:31:56 +0000 (03:31 +0000)]
    * adm_kt_dec.c, adm_kt_enc.c, alt_prof.c, str_conv.c:
Remove krb5_enctype references, and replace
with krb5_keytype where appropriate

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

29 years ago * accept_sec_context.c, init_sec_context.c, util_seed.c :
Chris Provenzano [Wed, 6 Sep 1995 03:31:17 +0000 (03:31 +0000)]
    * accept_sec_context.c, init_sec_context.c, util_seed.c :
Remove krb5_enctype references, and replace with
krb5_keytype where appropriate.

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

29 years ago * md5crypto.c : Replace KEYTYPE_DES_CBC_MD5 for KEYTYPE_DES
Chris Provenzano [Wed, 6 Sep 1995 03:30:34 +0000 (03:30 +0000)]
    * md5crypto.c : Replace KEYTYPE_DES_CBC_MD5 for KEYTYPE_DES

* t_cksum.c : Remove krb5_enctype references, and replace with
                krb5_keytype where appropriate.

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

29 years ago * md4crypto.c : Replace KEYTYPE_DES_CBC_MD4 for KEYTYPE_DES
Chris Provenzano [Wed, 6 Sep 1995 03:30:15 +0000 (03:30 +0000)]
    * md4crypto.c : Replace KEYTYPE_DES_CBC_MD4 for KEYTYPE_DES

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

29 years ago * destest.c, random_key.c, string2key.c, verify.c : Remove krb5_enctype
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

29 years ago * cryptoconf.c : Remove krb5_csarray.
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

29 years ago * cnv_tkt_skey.c, getcred.c, k524init.c, krb524d.c, test.c :
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

29 years ago * do_as_req.c, do_tgs_req.c, kerberos_v4.c, main.c: Remove krb5_enctype
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

29 years ago * admin_server.c, kadm_funcs.c, kadm_ser_wrap.c : Remove krb5_enctype
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

29 years ago * adm_adm_func.c, adm_fmt_inq.c, adm_funcs.c, adm_process.c,
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

29 years ago * admin.c, kadm5_defs.h, srv_key.c, srv_main.c : Remove krb5_enctype
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

29 years ago * osconf.h : Remove krb5_enctype references, and replace with
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

29 years ago * adm_proto.h : Remove krb5_enctype references, and replace with
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

29 years ago * k5-int.h, krb5.hin : Remove krb5_enctype references, and replace with
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

29 years ago * krb_auth_su.c : Remove krb5_enctype references, and replace with
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

29 years ago * klist.c : Remove krb5_enctype references, and replace with
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

29 years ago * kerberos5.c : Remove krb5_enctype references, and replace with
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

29 years ago * kdb5_stash.c : Remove krb5_enctype references, and replace with
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

29 years ago * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : Remove krb5_enctype
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

29 years ago * kdb5_create.c : Remove krb5_enctype references, and replace with
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

29 years agoReflect the fact that krb5_lock_file and krb5_unlock_file take fd's instead
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

29 years agogss-misc.c: Either include stdlib.h or declare malloc
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

29 years agoAdd const declarations to make remove warnings about converting
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

29 years agokdc_preauth.c: New file, to contain the server-side preauthentication
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

29 years agoAdd documentation for the clockskew and kdc_timesync relations in the
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

29 years agok5-int.h: Added clockskew, kdc_req_sumtype, and kdc_default_options to
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

29 years agoget_in_tkt.c (krb5_get_in_tkt): If kdc_settime is enabled, then set
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

29 years agoAdd test for old dump format
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

29 years agoMakefile.in (check-unix): Add a test case to make sure
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

29 years agoRemove __dbtest after done with make check
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

29 years agoSerialize new time offset fields in the os_context
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

29 years agoAdd time offset field to the os_context structure. This offset is
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

29 years ago* toffset.c: Added new file which implements the abstract interfaces
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

29 years agoTest aname_to_lname during make check
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

29 years agoDescribe previous changes
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

29 years agoUpdate ACL file description
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

29 years agoProvide object for ACL decision
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

29 years agoMake access decision based on subject and object, not just subject
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

29 years agoSet magic number in krb5_rcache
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

29 years agoRun using both GSSAPI and GSSAPI-V2 functions
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

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