krb5.git
29 years agoRenames for 8.3 uniqueness for files created by the Make process
Keith Vetter [Mon, 20 Feb 1995 23:04:26 +0000 (23:04 +0000)]
Renames for 8.3 uniqueness for files created by the Make process

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

29 years agoDOS 8.3 filename changes. The make process created some files with
Keith Vetter [Mon, 20 Feb 1995 22:58:44 +0000 (22:58 +0000)]
DOS 8.3 filename changes. The make process created some files with
bad names.

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

29 years agoExperimental checkin
Keith Vetter [Mon, 20 Feb 1995 20:16:23 +0000 (20:16 +0000)]
Experimental checkin

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

29 years ago* configure.in: Use AC_HAVE_HEADER rather than AC_HEADER_CHECK.
John Gilmore [Fri, 17 Feb 1995 04:13:43 +0000 (04:13 +0000)]
* configure.in:  Use AC_HAVE_HEADER rather than AC_HEADER_CHECK.
(Fixes resulting #define names to HAVE_XXX rather than HAS_XXX,
which is not only consistent but also matches what's in sysincl.h.)

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

29 years agoAs sent out for initial comment
Theodore Tso [Thu, 16 Feb 1995 22:38:02 +0000 (22:38 +0000)]
As sent out for initial comment

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

29 years ago* acconfig.h: added HAS_SYS_FILE_H & HAS_SYS_PARAM_H for Windows
John Gilmore [Wed, 15 Feb 1995 02:51:40 +0000 (02:51 +0000)]
* acconfig.h: added HAS_SYS_FILE_H & HAS_SYS_PARAM_H for Windows

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

29 years ago* Makefile.in: made to work under Windows
John Gilmore [Wed, 15 Feb 1995 02:37:02 +0000 (02:37 +0000)]
* Makefile.in: made to work under Windows
   - added windows only make preamble
   - moved the all target after the objects it depends on
   - used $(OBJEXT) and $(EXEEXT) where needed
   - split crctest into unix rules and windows rules
   - changed file separatars into macros where needed
* crctest.c: changed int to long to work on 16 bit machines
* crc.c: added Windows calling convention to the function
   and casted the assignment of the function.
[There's a minor problem -- the cast should be fixed another way --
 but I'll check it in this way and then Keith will fix it.]

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

29 years ago* configure.in: added header checks for sys/param.h and sys/file.h.
John Gilmore [Wed, 15 Feb 1995 02:02:17 +0000 (02:02 +0000)]
* configure.in: added header checks for sys/param.h and sys/file.h.
* encryption.h: added typedef prototype for sum_func function
    with the windows api to make microsoft compiler happy.
* sysincl.h: conditionally include sys/file.h and sys/param.h since
    windows doesn't have them.
* Makefile.in:
   - changed macros with ${...} to $(...) since nmake barfs on {}.
   - added windows only make preamble
   - split the all target into unix and windows branches

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

29 years ago* config.win: new file--windows base template for config.h
John Gilmore [Wed, 15 Feb 1995 01:52:05 +0000 (01:52 +0000)]
* config.win: new file--windows base template for config.h
* config.h: added API definition default of NULL

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

29 years ago* pre.in: Added macros for directory syntax, filename extensions
John Gilmore [Wed, 15 Feb 1995 01:04:57 +0000 (01:04 +0000)]
* pre.in: Added macros for directory syntax, filename extensions
  and what system we're building on (defaults to Unix).
* post.in: split clean into unix and windows branches
* windows.in: new file--makefile macros and rules for windows
* rm.bat: new file--DOS batch file to mimic Unix's rm command

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

29 years ago * kdb5_edit.c: add modent
Tom Yu [Tue, 14 Feb 1995 22:57:45 +0000 (22:57 +0000)]
* kdb5_edit.c: add modent
* getdate.y: import get_date
* kdbt_ed_ct.ct: add modent
* configure.in:
* Makefile.in: support for getdate.y

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

29 years agoFix memory leak --- the default encryption types was not being freed
Theodore Tso [Tue, 14 Feb 1995 04:34:35 +0000 (04:34 +0000)]
Fix memory leak --- the default encryption types was not being freed

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

29 years agoAdd check for libsocket and libnsl (sigh). krb5_init_ctx drags in
Theodore Tso [Sat, 11 Feb 1995 00:05:33 +0000 (00:05 +0000)]
Add check for libsocket and libnsl (sigh).  krb5_init_ctx drags in
cryptoconf.c, which drags in enough of the crypto library that
socket() gets called.  We should to fix this eventually to make klist
smaller, but the fix will be subtle.  Sigh....

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

29 years agoAdd check for libsocket and libnsl (sigh). krb5_init_ctx drags in
Theodore Tso [Sat, 11 Feb 1995 00:04:58 +0000 (00:04 +0000)]
Add check for libsocket and libnsl (sigh).  krb5_init_ctx drags in
cryptoconf.c, which drags in enough of the crypto library that
socket() gets called.  We should to fix this eventually to make klist
smaller, but the fix will be subtle.   Sigh....

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

29 years agoRemove needless #include of <krb5/asn.1/encode.h>
Theodore Tso [Fri, 10 Feb 1995 22:59:00 +0000 (22:59 +0000)]
Remove needless #include of <krb5/asn.1/encode.h>

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

29 years agoDon't include <krb5/asn.1/encode.h>; use <krb5/asn1.h>
Theodore Tso [Fri, 10 Feb 1995 22:58:39 +0000 (22:58 +0000)]
Don't include <krb5/asn.1/encode.h>; use <krb5/asn1.h>

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

29 years agoRemoved ISODE cruft
Theodore Tso [Fri, 10 Feb 1995 22:57:51 +0000 (22:57 +0000)]
Removed ISODE cruft

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

29 years agoRemoved ISODE cruft
Theodore Tso [Fri, 10 Feb 1995 22:57:18 +0000 (22:57 +0000)]
Removed ISODE cruft

krb5_encode.h and krb5_decode.h have been poured into include/krb5/asn1.h.

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

29 years agoRemoved ISODE cruft -- moved included .h files from krb5/asn.1/*.h into
Theodore Tso [Fri, 10 Feb 1995 22:53:12 +0000 (22:53 +0000)]
Removed ISODE cruft -- moved included .h files from krb5/asn.1/*.h into
asn1.h, to simplify the krb5 header file structure.

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

29 years agoRemove ISODE cruft
Theodore Tso [Fri, 10 Feb 1995 22:46:55 +0000 (22:46 +0000)]
Remove ISODE cruft

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

29 years agokrb5_use_keytype() was being called when the argument was a encryption
Theodore Tso [Fri, 10 Feb 1995 19:39:18 +0000 (19:39 +0000)]
krb5_use_keytype() was being called when the argument was a encryption
type.  Change use to krb5_use_cstype().  Actually, any use of
krb5_use_keytype() is a bug by definition.

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

29 years agoAdded -e option to print out encryption types
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

29 years agoSet up the keyblock's etype field correctly (after copying the
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

29 years agoMore changes. (This is the version that I'll send out for external comment.)
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

29 years agoMore edits/corrections....
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

29 years ago * kdb5_edit.c (show_principal): make sane and print all useful
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

29 years agoAdd KRB5_INT32 definitions for non-32 int platforms
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

29 years ago * kdc5_hammer.c Removed krb5_keytype, changed krb5_enctype to
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

29 years ago * kprop.c Use krb5_get_in_tkt_with_keytab() instead of
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

29 years ago * get_in_tkt.c (krb5_get_in_tkt())
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

29 years ago * kpasswd.c Removed krb5_keytype, changed krb5_enctype to
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

29 years ago * kadmin.c Removed krb5_keytype, changed krb5_enctype to
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

29 years ago * func-proto.h (krb5_get_in_tkt()) Changed key_proc args to be the
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

29 years ago * krb_auth_su.c Removed krb5_keytype, changed krb5_enctype to
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

29 years ago * klist.c Do a krb5_init_context() before using a krb5_context
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

29 years ago * kinit.c (main()) Removed krb5_keytype, changed krb5_enctype to
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

29 years ago * krb5.tex Documented API changes to krb5_get_in_tkt*() routines
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

29 years ago * aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): delete pre.out,
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

29 years ago * get_in_tkt.c (krb5_get_in_tkt): also check for the version
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

29 years agoAdd SIZEOF_FOO checks to properly define KRB_INT32
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

29 years agoUse politically correct name of AC_CHECK_SIZEOF instead of
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

29 years agoIf util/autoconf isn't built, try to use autoconf utilities found in the user's
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

29 years agoIgnore autoconf.h.in, since that's generated automatically by autoheader
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

29 years agoAdded files to .cvsignore which get built when autoconf is built in the
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

29 years agoAdd .cvsignore file so that cvs ignores the autoconf-built configure file
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

29 years agoDon't double count the leap day in a leap year
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

29 years agoUse explicit 32 bit types so this will work on an Alpha
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

29 years agoRemove unused cruft from des_int.h
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

29 years agoAdd keytype parameter to field
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

29 years agoAdd keytype parameter
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

29 years agoAdd keytype argument to rd_req_proc
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

29 years agoDon't define BITS16, BITS32, BITS64, etc. anymore. Instead,
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

29 years agoRemove BITS16, BITS32, BITS64, etc. from acconfig.h
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

29 years agoDon't use BITS64, use SIZEOF_LONG
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

29 years agoAll routines defined in the com_err library should have extern before
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

29 years agoOops, forgot to save file first
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

29 years agoAdd changes to make this work on Alpha's. (From Ezra)
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

29 years agoFix typo; "%02 X" --> "%02X"
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

29 years agoret_flags should be an int based on the prototype of
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

29 years ago* kadmin.c (main): Real live non-kludged argument parsing.
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

29 years agoRename files so that they work in the DOS LIB command,
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

29 years agoRename files for DOS 8.3 uniqueness:
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

29 years agoRename files for DOS 8.3 uniqueness:
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

29 years ago* asn1_decode_k.c => asn1_k_decode.c
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

29 years agoRename files for DOS 8.3 uniqueness:
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

29 years agoRename files for DOS 8.3 uniqueness:
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

29 years ago * get_in_tkt.c (krb5_get_in_tkt): fix typo
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

29 years ago * krb5.tex Documented change of krb5_enctype to krb5_enctypes
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

29 years ago * get_in_tkt.c (krb5_get_in_tkt): if krb5_is_as_rep fails, check
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

29 years ago * krb5_err.et (KRB5KRB_AP_ERR_V4_REPLY): new error code for V4
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

29 years ago* forward.c: Remove unused #include <krb5/crc-32.h>.
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

29 years ago* Makefile.in (CFLAGS): Handle $(srcdir) properly in -I options
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

29 years agoRemoval of ISODE (and there was much rejoicing)
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

29 years ago * int-proto.h Update prototypes for krb5_get_cred_via_tgt(), and
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

29 years ago * kdc_util.c (kdc_rdreq_keyproc()) Add krb5_keytype() arg
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

29 years ago * adm_process.c, adm_extern.h (cpw_keyproc()) Added
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

29 years ago * func-proto.h Added krb5_keytype arg to rb5_rdreq_key_proc
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

29 years ago * Removed all #include <krb5/crc-32.h>
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

29 years agoRemoving ISODE.... (and there was much rejoicing)
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

29 years agoCreated new documentation for how to build and install Kerberos V5
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

29 years agoin_tkt_sky.c (skey_keyproc()), rd_req_dec.c (krb5_rd_req_decoded())
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

29 years agoAdded krb5_keytype arg to krb5_ktfile_get_entry()
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

29 years agoAdded krb5_keytype arg to krb5_kt_read_service_key()
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

29 years agoAdded krb5_keytype arg to rd_req_keyproc()
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

29 years agoAdded krb5_keytype arg to krb5_kt_read_service_key() and krb5_kt_get_entry()
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

29 years agoUse new API for krb5_kt_get_entry()
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

29 years agoUse new API for krb5_kt_get_entry
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

29 years agoDocumented added krb5_keytab argunment to krb5_kt_read_service_key()
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

29 years ago * Fix scc_read.c (krb5_scc_read_authdatum()) krb5_authdatatype
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

29 years ago * Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatype
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

29 years ago * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
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

29 years ago* crc-32.h: Move to lib/crypto/crc32; only gets local use.
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

29 years ago * base-defs.h Typedef krb5_boolean, krb5_msgtype, krb5_kvno,
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

29 years agofix include install typo
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

29 years agoinstall man page from srcdir
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

29 years agoUpdate of Krb5 todo list (lots of changes over the last couple of weeks).
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

29 years ago* rnd_confoun.c: Replace <.../...> includes with "..."s
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

29 years agoAllow the primary port that the KDC listens on be configurable on the
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

29 years ago* Makefile.in (CFLAGS): Use -I../des to pull in include file.
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

29 years ago* Makefile.in (CFLAGS): Add -I../des to pull in DES header file.
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