krb5.git
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

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