Chris Provenzano [Thu, 9 Feb 1995 22:45:35 +0000 (22:45 +0000)]
Added -e option to print out encryption types
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4932
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 9 Feb 1995 22:44:51 +0000 (22:44 +0000)]
Set up the keyblock's etype field correctly (after copying the
keyblock, so it doesn't get overwritten!)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4931
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 9 Feb 1995 21:28:21 +0000 (21:28 +0000)]
More changes. (This is the version that I'll send out for external comment.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4929
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 9 Feb 1995 04:31:47 +0000 (04:31 +0000)]
More edits/corrections....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4928
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 9 Feb 1995 01:10:05 +0000 (01:10 +0000)]
* kdb5_edit.c (show_principal): make sane and print all useful
fields
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4927
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 8 Feb 1995 19:02:01 +0000 (19:02 +0000)]
Add KRB5_INT32 definitions for non-32 int platforms
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4925
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:37:12 +0000 (01:37 +0000)]
* kdc5_hammer.c Removed krb5_keytype, changed krb5_enctype to
krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
for krb5_get_in_tkt_with_password() rotuine.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4924
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:36:50 +0000 (01:36 +0000)]
* kprop.c Use krb5_get_in_tkt_with_keytab() instead of
krb5_get_in_tkt_with_skey().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4923
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:36:24 +0000 (01:36 +0000)]
* get_in_tkt.c (krb5_get_in_tkt())
* in_tkt_sky.c (krb5_get_in_tkt_with_skey())
* in_tkt_pwd.c (krb5_get_in_tkt_with_password())
Removed krb5_keytype, changed krb5_enctype to krb5_enctype *,
changed krb5_preauthtype to krb5_preauthtype *.
Changed the args to the key_proc arg of krb5_get_in_tkt()
to be the following (krb5_context, const krb5_keytype,
krb5_data *, krb5_const_pointer, krb5_keyblock **)
* in_tkt_ktb.c (krb5_get_in_tkt_with_keytab()) Added this routine
to replace krb5_get_in_tkt_with_skey() in kinit.
* Makefile.in Added new source file in_tkt_ktb.c.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4922
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:34:38 +0000 (01:34 +0000)]
* kpasswd.c Removed krb5_keytype, changed krb5_enctype to
krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
for krb5_get_in_tkt_with_password() rotuine.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4921
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:34:11 +0000 (01:34 +0000)]
* kadmin.c Removed krb5_keytype, changed krb5_enctype to
krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
for krb5_get_in_tkt_with_password() rotuine.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4920
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:33:30 +0000 (01:33 +0000)]
* func-proto.h (krb5_get_in_tkt()) Changed key_proc args to be the
following (krb5_context, const krb5_keytype, krb5_data *,
krb5_const_pointer, krb5_keyblock **)
* func-proto.h (krb5_get_in_tkt_*()) Removed krb5_keytype, changed
krb5_enctype to krb5_enctype *, changed krb5_preauthtype to
krb5_preauthtype *.
* func-proto.h Added new routine krb5_get_in_tkt_with_keytab().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4919
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:32:59 +0000 (01:32 +0000)]
* krb_auth_su.c Removed krb5_keytype, changed krb5_enctype to
krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
for krb5_get_in_tkt_with_password() rotuine.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4918
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:32:23 +0000 (01:32 +0000)]
* klist.c Do a krb5_init_context() before using a krb5_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4917
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:31:53 +0000 (01:31 +0000)]
* kinit.c (main()) Removed krb5_keytype, changed krb5_enctype to
krb5_enctype *, changed krb5_preauthtype to krb5_preauthtype *
for krb5_get_in_tkt_with_password() rotuine.
* kinit.c (main()) use new API for krb5_get_in_tkt(), and replace
krb5_get_in_tkt_with_skey() with krb5_get_in_tkt_with_keytab()
and remove all unnecessary cruft.
* kinit.c Do a krb5_init_context() before using a krb5_context.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4916
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 8 Feb 1995 01:31:18 +0000 (01:31 +0000)]
* krb5.tex Documented API changes to krb5_get_in_tkt*() routines
and added krb5_get_in_tkt_with_keytab(). The explanation of
each of these routines still needs appropriate changes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4915
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Sat, 4 Feb 1995 00:00:55 +0000 (00:00 +0000)]
* aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): delete pre.out,
Makefile.out, and post.out immediately after using them, for
cleanliness' sake.
tested.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4911
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Sat, 4 Feb 1995 00:00:13 +0000 (00:00 +0000)]
* get_in_tkt.c (krb5_get_in_tkt): also check for the version
number of the reply being whatever we had in the first byte of the
request.
tested with kinit.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4910
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 22:24:51 +0000 (22:24 +0000)]
Add SIZEOF_FOO checks to properly define KRB_INT32
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4909
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 22:08:14 +0000 (22:08 +0000)]
Use politically correct name of AC_CHECK_SIZEOF instead of
AC_SIZEOF_TYPE.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4908
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 21:59:26 +0000 (21:59 +0000)]
If util/autoconf isn't built, try to use autoconf utilities found in the user's
path.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4907
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 21:57:45 +0000 (21:57 +0000)]
Ignore autoconf.h.in, since that's generated automatically by autoheader
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4906
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 21:57:09 +0000 (21:57 +0000)]
Added files to .cvsignore which get built when autoconf is built in the
source directory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4905
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 20:14:17 +0000 (20:14 +0000)]
Add .cvsignore file so that cvs ignores the autoconf-built configure file
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4904
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 19:34:56 +0000 (19:34 +0000)]
Don't double count the leap day in a leap year
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4903
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 19:34:27 +0000 (19:34 +0000)]
Use explicit 32 bit types so this will work on an Alpha
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4902
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 19:33:40 +0000 (19:33 +0000)]
Remove unused cruft from des_int.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4901
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 19:32:16 +0000 (19:32 +0000)]
Add keytype parameter to field
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4900
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 19:20:48 +0000 (19:20 +0000)]
Add keytype parameter
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4899
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 19:19:50 +0000 (19:19 +0000)]
Add keytype argument to rd_req_proc
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4898
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 17:05:51 +0000 (17:05 +0000)]
Don't define BITS16, BITS32, BITS64, etc. anymore. Instead,
individually test for SIZEOF_SHORT, SIZEOF_INT, and SIZEOF_LONG and
use them as appropriate in wordsize.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4897
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 17:03:58 +0000 (17:03 +0000)]
Remove BITS16, BITS32, BITS64, etc. from acconfig.h
Remove ISODE references from configure and aclocal.m4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4896
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 17:01:01 +0000 (17:01 +0000)]
Don't use BITS64, use SIZEOF_LONG
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4895
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 13:39:27 +0000 (13:39 +0000)]
All routines defined in the com_err library should have extern before
the prototypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4894
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:52:06 +0000 (11:52 +0000)]
Oops, forgot to save file first
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4893
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:51:47 +0000 (11:51 +0000)]
Add changes to make this work on Alpha's. (From Ezra)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4892
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:35:06 +0000 (11:35 +0000)]
Fix typo; "%02 X" --> "%02X"
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4891
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Fri, 3 Feb 1995 11:22:04 +0000 (11:22 +0000)]
ret_flags should be an int based on the prototype of
gss_accept_sec_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4890
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 11:05:12 +0000 (11:05 +0000)]
* kadmin.c (main): Real live non-kludged argument parsing.
Add -c option to specify ticket cache location (it really
should just use a cache in memory in the process, but that
isn't written yet). Make some error messages more explicit!
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4889
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 10:46:39 +0000 (10:46 +0000)]
Rename files so that they work in the DOS LIB command,
which amazingly finds dashes in mid-name and treats them
like option switches.
* des-crc.c => des_crc.c
* des-md5.c => des_md5.c
* raw-des.c => raw_des.c
* Makefile.in: changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4888
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 10:17:02 +0000 (10:17 +0000)]
Rename files for DOS 8.3 uniqueness:
* ktf_get_en.c => ktf_g_ent.c
* ktf_get_na.c => ktf_g_name.c
* Makefile.in: changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4887
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 09:47:08 +0000 (09:47 +0000)]
Rename files for DOS 8.3 uniqueness:
* f_kdc_rep.c => f_kdc_rp.c
* f_kdc_req.c => f_kdc_rq.c
* f_ticket.c => f_tckt.c
* f_tickets.c => f_tckts.c
* Makefile.in was updated to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4886
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 09:06:26 +0000 (09:06 +0000)]
* asn1_decode_k.c => asn1_k_decode.c
* asn1_decode_k.h => asn1_k_decode.h
* asn1_encode_k.c => asn1_k_encode.c
* asn1_encode_k.h => asn1_k_encode.h
* Makefile.sane.in, krb5_decode.c, krb5_encode.c,
asn1_k_encode.c, asn1_k_decode.c: updated to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4885
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 08:41:09 +0000 (08:41 +0000)]
Rename files for DOS 8.3 uniqueness:
* display_name.c => disp_name.c
* display_status.c => disp_status.c
* inquire_context.c => inq_context.c
* inquire_cred.c => inq_cred.c
* release_cred.c => rel_cred.c
* release_name.c => rel_name.c
* Makefile.in changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4884
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 3 Feb 1995 08:30:40 +0000 (08:30 +0000)]
Rename files for DOS 8.3 uniqueness:
* display_com_err_status.c => disp_com_err_status.c
* display_major_status.c => disp_major_status.c
* release_buffer.c => rel_buffer.c
* release_oid_set.c => rel_oid_set.c
* util_val_nohash.c => utl_nohash_validate.c
* Makefile.in was changed to match.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4883
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 3 Feb 1995 05:49:31 +0000 (05:49 +0000)]
* get_in_tkt.c (krb5_get_in_tkt): fix typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4882
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 3 Feb 1995 04:14:07 +0000 (04:14 +0000)]
* krb5.tex Documented change of krb5_enctype to krb5_enctypes
to krb5_send_tgs().
* krb5.tex Documented added krb5_keytype arg to (*keyproc)() arg
for krb5_rd_req(), krb5_rd_req_decoded(), and krb5_recvauth().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4881
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 3 Feb 1995 01:58:30 +0000 (01:58 +0000)]
* get_in_tkt.c (krb5_get_in_tkt): if krb5_is_as_rep fails, check
if the packet might be a V4 error packet. Use modified V4 check so
that it compiles under SCO.
simple, but untested.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4880
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Fri, 3 Feb 1995 01:56:03 +0000 (01:56 +0000)]
* krb5_err.et (KRB5KRB_AP_ERR_V4_REPLY): new error code for V4
reply to a V5 request.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4879
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 2 Feb 1995 13:13:29 +0000 (13:13 +0000)]
* forward.c: Remove unused #include <krb5/crc-32.h>.
* kerberos5.c (kerberos5_send): Remove code for sending a checksum
of a zero-byte string; we can just send no checksum at all. This
eliminates dependency on <krb5/crc-32.h>.
(kerberos5_forward): Remove extra parameter to krb5_get_for_creds,
probably accidentally inserted during context changes -- which don't
seem to be here in the ChangeLog.
* kerberos.c: Remove prototypes for krb4 functions, since
some of them are wrong with CNS (u_long vs. KRB_INT32 conflicts).
These changes BUILD but have not been RUN yet. But at least they build.
My apologies. -- John
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4878
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 2 Feb 1995 11:02:28 +0000 (11:02 +0000)]
* Makefile.in (CFLAGS): Handle $(srcdir) properly in -I options
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4877
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 2 Feb 1995 06:30:03 +0000 (06:30 +0000)]
Removal of ISODE (and there was much rejoicing)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4876
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:42:29 +0000 (03:42 +0000)]
* int-proto.h Update prototypes for krb5_get_cred_via_tgt(), and
krb5_get_cred_via_2tgt().
* get_fcreds.c (krb5_get_for_creds())
* gc_via_tgt.c (krb5_get_cred_via_tgt())
* gc_2tgt.c (krb5_get_cred_via_2tgt())
Removed krb5_enctype argument. Pass NULL list of encryption
types to krb5_send_tgs to get default encryption types.
* gc_frm_kdc.c Removed krb5_enctype argument passed to
krb5_get_cred_via_tgt()
* send_tgs.c (krb5_send_tgs()) Changed krb5_enctype arg to
krb5_enctype *, a NULL terminated array of encryption
types. If argument is NULL then krb5_send_tgs() will
use defaul list of encryption types.
* send_tgs.c (krb5_send_tgs()) To encrypt request ticket use
usecred->keyblock.etype instead of (and now defunct)
krb5_enctype arg.
* init_ctx.c Added krb5_set_default_in_tkt_etypes() and
krb5_get_default_in_tkt_etypes().
* rd_req.c, rd_req_decode.c Removed typedef for rdreq_key_proc
and use krb5_rd_req_decoded in its place.
* get_fcreds.c Really needs #include<krb5/asn1.h> for definition
of krb5_is_krb_error()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4875
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:40:09 +0000 (03:40 +0000)]
* kdc_util.c (kdc_rdreq_keyproc()) Add krb5_keytype() arg
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4874
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:39:25 +0000 (03:39 +0000)]
* adm_process.c, adm_extern.h (cpw_keyproc()) Added
krb5_keytype arg.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4873
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:38:45 +0000 (03:38 +0000)]
* func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc
* func-proto.h (krb5_send_tgs()) Changed krb5_enctype arg to
krb5_enctype *, a NULL terminated array of encryption types.
* func-proto.h Added prototypes for krb5_get_for_creds(),
krb5_set_default_in_tkt_etypes(), and
krb5_get_default_in_tkt_etypes().
* krb5.h Added fields to krb5_context to support default etypes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4872
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Thu, 2 Feb 1995 03:37:52 +0000 (03:37 +0000)]
* Removed all #include <krb5/crc-32.h>
* Removed krb5_enctype argument passed to krb5_get_for_creds()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4871
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Feb 1995 21:43:42 +0000 (21:43 +0000)]
Removing ISODE.... (and there was much rejoicing)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4870
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 1 Feb 1995 04:50:13 +0000 (04:50 +0000)]
Created new documentation for how to build and install Kerberos V5
Still needs a lot of work.....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4869
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:10:27 +0000 (20:10 +0000)]
in_tkt_sky.c (skey_keyproc()), rd_req_dec.c (krb5_rd_req_decoded())
use new API for krb5_kt_get_entry.
get_fcreds.c Removed #include<krb5/crc-32.h> and #include<krb5/asn1.h>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4868
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:08:50 +0000 (20:08 +0000)]
Added krb5_keytype arg to krb5_ktfile_get_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4867
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:07:26 +0000 (20:07 +0000)]
Added krb5_keytype arg to krb5_kt_read_service_key()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4866
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:06:40 +0000 (20:06 +0000)]
Added krb5_keytype arg to rd_req_keyproc()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4865
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:05:19 +0000 (20:05 +0000)]
Added krb5_keytype arg to krb5_kt_read_service_key() and krb5_kt_get_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4864
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:03:24 +0000 (20:03 +0000)]
Use new API for krb5_kt_get_entry()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4863
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:03:12 +0000 (20:03 +0000)]
Use new API for krb5_kt_get_entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4862
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Sat, 28 Jan 1995 20:00:15 +0000 (20:00 +0000)]
Documented added krb5_keytab argunment to krb5_kt_read_service_key()
and krb5_kt_get_entry().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4861
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 06:56:33 +0000 (06:56 +0000)]
* Fix scc_read.c (krb5_scc_read_authdatum()) krb5_authdatatype
is of type unsigned int and therefore shouldn't be the
argument to krb5_scc_read_ui_2().
Fixes bug reported by Ezra (discuss message 1053)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4860
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 06:56:14 +0000 (06:56 +0000)]
* Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatype
is of type unsigned int and therefore shouldn't be the
argument to krb5_fcc_read_ui_2().
Fixes bug reported by Ezra (discuss message 1053)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4859
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 06:38:58 +0000 (06:38 +0000)]
* base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as unsigned int.
* kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
* kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4858
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Fri, 27 Jan 1995 02:16:38 +0000 (02:16 +0000)]
* crc-32.h: Move to lib/crypto/crc32; only gets local use.
* rsa-md4.h: Move to lib/crypto/md4; only gets local use.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4857
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Fri, 27 Jan 1995 01:27:01 +0000 (01:27 +0000)]
* base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as unsigned int.
* kdb_dbm.h krb5_dbm_db_set_lockmode(), krb5_dbm_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
* kdb.h krb5_db_set_lockmode(), krb5_db_set_nonblocking()
Fix prototypes to use krb5_boolean and not int.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4856
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 22:30:08 +0000 (22:30 +0000)]
fix include install typo
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4855
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 22:28:44 +0000 (22:28 +0000)]
install man page from srcdir
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4854
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Jan 1995 17:16:16 +0000 (17:16 +0000)]
Update of Krb5 todo list (lots of changes over the last couple of weeks).
I've just never gotten around to checking it in....
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4853
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:25:38 +0000 (04:25 +0000)]
* rnd_confoun.c: Replace <.../...> includes with "..."s
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4852
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Jan 1995 04:21:45 +0000 (04:21 +0000)]
Allow the primary port that the KDC listens on be configurable on the
command line. If the appropriate /etc/services entries aren't found,
use compiled in defaults.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4851
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:21:27 +0000 (04:21 +0000)]
* Makefile.in (CFLAGS): Use -I../des to pull in include file.
* md5.c, md5crypto.c, md5glue.c, t_mddriver.c: Replace <.../...>
includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4850
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:11:47 +0000 (04:11 +0000)]
* Makefile.in (CFLAGS): Add -I../des to pull in DES header file.
* rsa-md4.h: New include file, moved from include/krb5, since
it's only used locally.
* md4.c, md4crypto.c, md4driver.c, md4glue.c: Replace <.../...>
includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4849
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:09:51 +0000 (04:09 +0000)]
* cbc_cksum.c, cs_entry.c, des.h, destest.c, f_sched.c,
fin_rndkey.c, finish_key.c, init_rkey.c, key_sched.c,
new_rn_key.c, process_ky.c, random_key.c, string2key.c, verify.c,
weak_key.c: Replace <.../...> includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4848
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:06:12 +0000 (04:06 +0000)]
* crc-32.h: New file, moved from include/krb5/crc-32.h.
* crc.c, crctest.c: Replace <.../...> includes with "..."s.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4847
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 04:00:41 +0000 (04:00 +0000)]
* Makefile.in (CFLAGS): Add -I options to pick up include files
from the various algorithm subdirs.
* cryptoconf.c, des-crc.c, des-md5.c, raw-des.c: Replace most
<.../...> include files with "..." includes.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4846
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Thu, 26 Jan 1995 03:30:12 +0000 (03:30 +0000)]
Make it possible to #include "..." without using slashes,
for Macintosh support.
* krb5.h: New file, the externally visible interface to
Kerberos V5. Currently the whole kitchen sink, to bootstrap.
* k5-int.h: New file, the internally visible declarations
needed by source files that are part of the Kerberos V5 library
itself. Currently the same whole kitchen sink, to bootstrap.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4845
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 26 Jan 1995 02:05:32 +0000 (02:05 +0000)]
Removing narrow.h and widen.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4844
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 01:51:22 +0000 (01:51 +0000)]
* Makefile.in (SRCS): add com_err.c explicit dependency to work
around VPATH bug in Solaris make. Also fix typo in comment.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4843
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 01:10:19 +0000 (01:10 +0000)]
* kadm.h: add DEL_ENT and DEL_ACL for CNS V4 delete support
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4842
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 01:07:41 +0000 (01:07 +0000)]
* configure.in: rewrote remaining tests to use AC_TRY_COMPILE and
caching. Added cross-compile case for ANSI stdio test.
No more complaints from autoconf...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4841
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Thu, 26 Jan 1995 00:53:58 +0000 (00:53 +0000)]
* autoreconf.sh (ls test): use -Llt to sort, in case we're in a
symlink farm.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4840
dc483132-0cff-0310-8789-
dd5450dbe970
Mark Eichin [Wed, 25 Jan 1995 23:37:19 +0000 (23:37 +0000)]
Nroff Magic to make telnet man page actually work on traditional *roff
(from ian@cygnus.com and CNS V4)
* telnet.1: refer to man1/tmac.doc.
* tmac.doc: actually works with telnet.
* Makefile.in (install): install tmac.doc. CLIENT_MANDIR had
better be man1.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4839
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 23:01:22 +0000 (23:01 +0000)]
Maybe CVS will let me remove them now
* Removed narrow.h and widen.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4838
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 22:29:07 +0000 (22:29 +0000)]
* Removed all narrow types and references to wide.h and narrow.h
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4837
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 22:28:14 +0000 (22:28 +0000)]
* Removed all narrow types and references to wide.h and narrow.h
* ktf_util.c : Use a constant size for file data not subfield
size from krb5_keytab_entry
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4836
dc483132-0cff-0310-8789-
dd5450dbe970
Chris Provenzano [Wed, 25 Jan 1995 22:24:06 +0000 (22:24 +0000)]
* Removed all narrow types and references to wide.h and narrow.h
* base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
krb5_addrtype, krb5_keytyp, krb5_enctype, krb5_cksumtype,
and krb5_authdatatype as int.
* kdb.h Made keytype in krb5_encrypted_keyblock explicitly short
for backwards compatibility.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4835
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Mon, 23 Jan 1995 02:28:57 +0000 (02:28 +0000)]
* acquire_cred.c (acquire_accept_cred): Add context arg when
calling krb5_sname_to_principal.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4834
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Mon, 23 Jan 1995 02:25:10 +0000 (02:25 +0000)]
* get_krbhst.c (krb5_get_krbhst): Declare realm argument const,
to match prototype.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4833
dc483132-0cff-0310-8789-
dd5450dbe970
John Gilmore [Mon, 23 Jan 1995 02:21:48 +0000 (02:21 +0000)]
* preauth.h, rsa-md5.h: Protect against multiple inclusion
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4832
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:58:15 +0000 (03:58 +0000)]
Fix use of connected sockets; previously krb5_sendto_kdc only used one
socket per address family. This doesn't work; it now uses one socket
per address. (krb5-bugs #938)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4831
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:52:36 +0000 (03:52 +0000)]
Modify getopt args so that the 'M' option takes an argument, as it's
supposed to. (krb5 bugs 984)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4830
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:25:16 +0000 (03:25 +0000)]
If gethostbyname returns an error, exit after printing an error message
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4829
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Thu, 19 Jan 1995 03:11:44 +0000 (03:11 +0000)]
Add missing context variable when compiling with V4 compatibility
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4828
dc483132-0cff-0310-8789-
dd5450dbe970