krb5.git
29 years ago* forward.c, kcmd.c, krcp.c, krlogin.c, krlogind.c, krsh.c,
John Gilmore [Tue, 28 Feb 1995 09:43:29 +0000 (09:43 +0000)]
* forward.c, kcmd.c, krcp.c, krlogin.c, krlogind.c, krsh.c,
krshd.c:  Avoid <krb5/...> and <com_err.h> includes.

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

29 years ago* Makefile.in: Avoid recompilation of std_rqs.c every single time
John Gilmore [Tue, 28 Feb 1995 09:36:53 +0000 (09:36 +0000)]
* Makefile.in:  Avoid recompilation of std_rqs.c every single time
`make' is run.
* error.c:  Use "com_err.h", not <com_err.h>.

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

29 years ago* com_err.3: Document "com_err.h" rather than <com_err.h>
John Gilmore [Tue, 28 Feb 1995 09:35:54 +0000 (09:35 +0000)]
* com_err.3:  Document "com_err.h" rather than <com_err.h>

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

29 years agoAvoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 09:34:25 +0000 (09:34 +0000)]
Avoid <krb5/...> includes

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

29 years ago<com_err.h> => "com_err.h"
John Gilmore [Tue, 28 Feb 1995 09:33:32 +0000 (09:33 +0000)]
<com_err.h> => "com_err.h"

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

29 years ago* *.c: Avoid <krb5/...> includes.
John Gilmore [Tue, 28 Feb 1995 09:21:46 +0000 (09:21 +0000)]
* *.c:  Avoid <krb5/...> includes.
* parse.c:  Exdent #ifndef to left margin for old compilers.

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

29 years agoAvoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 09:10:59 +0000 (09:10 +0000)]
Avoid <krb5/...> includes

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

29 years ago* daemon.c, memmove.c, strcasecmp.c, strdup.c: Avoid <krb5/...>
John Gilmore [Tue, 28 Feb 1995 09:07:00 +0000 (09:07 +0000)]
* daemon.c, memmove.c, strcasecmp.c, strdup.c:  Avoid <krb5/...>
includes.
* memmove.c:  Use HAS_SYS_TYPES_H.

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

29 years agoAvoid <krb5/....> includes
John Gilmore [Tue, 28 Feb 1995 09:04:14 +0000 (09:04 +0000)]
Avoid <krb5/....> includes

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

29 years ago*.c: Avoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 09:03:06 +0000 (09:03 +0000)]
*.c:  Avoid <krb5/...> includes

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

29 years agoAvoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 08:58:11 +0000 (08:58 +0000)]
Avoid <krb5/...> includes

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

29 years ago* init_ets.c: Avoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 08:38:28 +0000 (08:38 +0000)]
* init_ets.c:  Avoid <krb5/...> includes

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

29 years agoAvoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 08:37:34 +0000 (08:37 +0000)]
Avoid <krb5/...> includes

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

29 years agoAvoid <krb5/....> includes
John Gilmore [Tue, 28 Feb 1995 08:35:09 +0000 (08:35 +0000)]
Avoid <krb5/....> includes

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

29 years agoAvoid <krb5/...> includes
John Gilmore [Tue, 28 Feb 1995 08:25:12 +0000 (08:25 +0000)]
Avoid <krb5/...> includes

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

29 years ago* aclocal.m4 (ADD_DEF): Add -I...include/krb5 so we won't need
John Gilmore [Tue, 28 Feb 1995 08:01:32 +0000 (08:01 +0000)]
* aclocal.m4 (ADD_DEF):  Add -I...include/krb5 so we won't need
pathnames to Kerberos include files in any of the #include lines
in the source tree.

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

29 years ago* Makefile.in (osconf.h): Remove temp file osconf.new
John Gilmore [Tue, 28 Feb 1995 07:58:41 +0000 (07:58 +0000)]
* Makefile.in (osconf.h):  Remove temp file osconf.new

* base-defs.h, dbm.h, error_def.h, sysincl.h:  Avoid #include
<krb5/...> form; use "..." form.

* config.h:  Rename to k5-config.h.  This is too common a
name, now that we use -I..../include/krb5.
* free.h:  Rename to k5-free.h.

* configure.in (AC_INIT):  Use another file (not krb5.h) as src test.

[Didn't check in the removal of <krb5/krb5.h> yet, til I check in the
other changes throughout the tree that make it work.]

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

29 years ago* k5-int.h: Remove commented-out <widen.h> and <narrow.h>.
John Gilmore [Tue, 28 Feb 1995 07:56:00 +0000 (07:56 +0000)]
* k5-int.h:  Remove commented-out <widen.h> and <narrow.h>.
* krb5.h: Same as old krb5/krb5.h, as a start.  Gradually things
that don't need to be exported will be moved from krb5.h into
k5-int.h (and vice verse for e.g. function prototypes).

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

29 years agoConverted the krb5/krb directory to work under windows. Mostly added the
Keith Vetter [Mon, 27 Feb 1995 21:32:03 +0000 (21:32 +0000)]
Converted the krb5/krb directory to work under windows. Mostly added the
windows INTERFACE keyword to functions.

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

29 years agomake lndir work with relative path invocation
Mark Eichin [Mon, 27 Feb 1995 05:03:24 +0000 (05:03 +0000)]
make lndir work with relative path invocation

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

29 years agoLots of changes.... mostly to clean up and clarify the text
Theodore Tso [Sat, 25 Feb 1995 05:53:49 +0000 (05:53 +0000)]
Lots of changes.... mostly to clean up and clarify the text

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

29 years ago * kdb5_edit.c: add struct timeb and sys/timeb includes from
Mark Eichin [Fri, 24 Feb 1995 00:54:58 +0000 (00:54 +0000)]
* kdb5_edit.c: add struct timeb and sys/timeb includes from
getdate.y.
(ftime): new function, in case we don't HAVE_FTIME.

Ezra's changes, since solaris needs them. kadmin.new/client may need these
too; accordging to glimpse, that's the only other use of ftime...

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

29 years ago * mk_cmds.sh: use ${SED} not sed in backtick expressions.
Mark Eichin [Thu, 23 Feb 1995 19:47:08 +0000 (19:47 +0000)]
* mk_cmds.sh: use ${SED} not sed in backtick expressions.
Explicitly check for ${FILE} since sed doesn't give an error if it
is absent. Also set -e to catch other conditions.

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

29 years ago * mk_cmds.sh: use ${SED} not sed in backtick expressions.
Mark Eichin [Thu, 23 Feb 1995 19:34:01 +0000 (19:34 +0000)]
* mk_cmds.sh: use ${SED} not sed in backtick expressions.
Use set -e so that if ${FILE} isn't found we actually fail.

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

29 years ago * kprop.c Call krb5_sendauth() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:36:28 +0000 (13:36 +0000)]
    * kprop.c Call krb5_sendauth() with new calling convention

* kprop.c (kerberos_authenticate()), (xmit_database()), cleaned up
to not use globals. Instead use krb5_creds * args.

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

29 years agoAll to change krb5_get_credentials() ..
Chris Provenzano [Thu, 23 Feb 1995 13:35:36 +0000 (13:35 +0000)]
All to change krb5_get_credentials() ..

* send_tgs.c (krb5_send_tgs()) Added check for a valid krb5_creds * arg.

* mk_req_ext.c (krb5_mk_req_extended()) Require caller to pass in a
valid krb5_creds * arg, and removed kdc_options krb5_flags
and krb5_ccache from arg list.
* send_tgs.c (krb5_send_tgs())
* sendauth.c (krb5_sendauth())
Fix calls to krb5_mk_req_extended()

* gc_frm_kdc.c (krb5_get_cred_from_kdc()) Changed krb5_creds * in/out
arg to be an in only arg and added krb5_creds ** out arg.

* gc_via_tgt.c (krb5_get_cred_via_tgt()) Changed krb5_creds * in/out
arg to be an in only arg and added krb5_creds ** out arg.

* gc_2tgt.c (krb5_get_cred_via_2tgt()) Changed krb5_creds * in/out
arg to be an in only arg and added krb5_creds ** out arg.

* int-proto.h Updated prototypes for krb5_get_cred_via_tgt() and
krb5_get_cred_via_2tgt().

* get_creds.c (krb5_get_credentials()) Changed krb5_creds * in/out
arg to be an in only arg and added krb5_creds ** out arg.
* sendauth.c (krb5_sendauth())
Routines that also require krb5_creds * in/out arg to be
appropriately changed because krb5_get_credentials() changed.
* gc_frm_kdc.c (krb5_get_cred_from_kdc())
* get_fcreds.c (krb5_get_for_creds())
* mk_req.c (krb5_mk_req())
Other routines that needed adjusting because
krb5_get_credentials() changed but didn't need an API change.

* int-proto.h Don't prototype krb5_get_cred_via_tgt() twice. Use the
second to prototype krb5_get_cred_via_2tgt().

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

29 years ago * init_sec_context.c (make_ap_req()) Use new API for
Chris Provenzano [Thu, 23 Feb 1995 13:29:09 +0000 (13:29 +0000)]
* init_sec_context.c (make_ap_req()) Use new API for
        krb5_mk_req_extended() and cleanup internal processing.

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

29 years ago * kpasswd.c Call krb5_sendauth(), krb5_get_credentials()
Chris Provenzano [Thu, 23 Feb 1995 13:28:20 +0000 (13:28 +0000)]
    * kpasswd.c Call krb5_sendauth(), krb5_get_credentials()
   with new calling convention.

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

29 years ago * kadmin.c Call krb5_sendauth() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:27:41 +0000 (13:27 +0000)]
    * kadmin.c Call krb5_sendauth() with new calling convention

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

29 years ago * func-proto.h (krb5_get_credentials(), krb5_get_cred_from_kdc(),
Chris Provenzano [Thu, 23 Feb 1995 13:27:12 +0000 (13:27 +0000)]
* func-proto.h (krb5_get_credentials(), krb5_get_cred_from_kdc(),
and krb5_sendauth()) replaced krb5_cred * IN/OUT arg with
a krb5_cred * IN and a krb5_cred ** OUT arg.
* func-proto.h (krb5_mk_req_extended()) Remove kdc_options flag arg
and krb5_ccache arg. They are no longer necessary.

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

29 years ago * krb_auth_su.c krb5_auth_check()) Call krb5_get_cred_from_kdc()
Chris Provenzano [Thu, 23 Feb 1995 13:26:23 +0000 (13:26 +0000)]
* krb_auth_su.c krb5_auth_check()) Call krb5_get_cred_from_kdc()
with new calling convention.

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

29 years ago * client.c Call krb5_get_credentials() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:24:46 +0000 (13:24 +0000)]
    * client.c Call krb5_get_credentials() with new calling convention

        * server.c Call krb5_mk_req_extended() with new calling convention.

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

29 years ago * kerberos5.c (kerberos5_send(), kerberos5_forward())
Chris Provenzano [Thu, 23 Feb 1995 13:23:12 +0000 (13:23 +0000)]
    * kerberos5.c (kerberos5_send(), kerberos5_forward())
Call krb5_get_credentials() and krb5_mk_req_extended()
with new calling convention.

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

29 years ago * sim_client.c Call krb5_sendauth() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:22:35 +0000 (13:22 +0000)]
    * sim_client.c Call krb5_sendauth() with new calling convention

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

29 years ago * kadmin.c Call krb5_sendauth() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:22:08 +0000 (13:22 +0000)]
    * kadmin.c Call krb5_sendauth() with new calling convention

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

29 years ago * movemail.c Call krb5_sendauth() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:21:09 +0000 (13:21 +0000)]
    * movemail.c Call krb5_sendauth() with new calling convention

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

29 years ago * poplib.c (pop_init): Call krb5_sendauth() with new calling convention
Chris Provenzano [Thu, 23 Feb 1995 13:20:11 +0000 (13:20 +0000)]
* poplib.c (pop_init): Call krb5_sendauth() with new calling convention

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

29 years ago * kcmd.c Call krb5_sendauth() and krb5_get_credentials() with
Chris Provenzano [Thu, 23 Feb 1995 13:19:13 +0000 (13:19 +0000)]
    * kcmd.c Call krb5_sendauth() and krb5_get_credentials() with
new calling convention.

* krcp.c (answer_auth()) Call krb5_mk_req_extended90 with new
calling convention.

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

29 years ago* install.texi: Minor corrections. Add info about bare source
John Gilmore [Thu, 23 Feb 1995 02:58:01 +0000 (02:58 +0000)]
* install.texi:  Minor corrections.  Add info about bare source
trees (without configure scripts).

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

29 years agoConverted krb/keytab to work on the PC. Mostly just adding the windows
Keith Vetter [Wed, 22 Feb 1995 10:20:52 +0000 (10:20 +0000)]
Converted krb/keytab to work on the PC. Mostly just adding the windows
INTERFACE keyword to all functions and prototypes.

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

29 years agoRemove call to xfree at the end. This routine now only frees the
Theodore Tso [Wed, 22 Feb 1995 04:41:55 +0000 (04:41 +0000)]
Remove call to xfree at the end.  This routine now only frees the
contents of the cred_enc_part structure.

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

29 years agoFix argument type to krb5_free_cred_enc_part()
Theodore Tso [Wed, 22 Feb 1995 04:41:14 +0000 (04:41 +0000)]
Fix argument type to krb5_free_cred_enc_part()

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

29 years agoConverted krb5/des425 and krb5/asn.1 to the PC
Keith Vetter [Wed, 22 Feb 1995 03:08:52 +0000 (03:08 +0000)]
Converted krb5/des425 and krb5/asn.1 to the PC

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

29 years agoAdded missing declarations, removed duplicate ones
Theodore Tso [Wed, 22 Feb 1995 01:12:38 +0000 (01:12 +0000)]
Added missing declarations, removed duplicate ones

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

29 years agoUse $(LD) instead of $(CC) when linking
Theodore Tso [Wed, 22 Feb 1995 01:10:25 +0000 (01:10 +0000)]
Use $(LD) instead of $(CC) when linking

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

29 years agoUse $(LD) instead of $(CC) when linking. (For allowing use of Pure Software
Theodore Tso [Wed, 22 Feb 1995 01:09:57 +0000 (01:09 +0000)]
Use $(LD) instead of $(CC) when linking.  (For allowing use of Pure Software
tools).

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

29 years agoAdd a new configure production which allows a special linker to be
Theodore Tso [Wed, 22 Feb 1995 01:08:41 +0000 (01:08 +0000)]
Add a new configure production which allows a special linker to be
specified.  Useful for running programs like Purify, etc.

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

29 years agoAdd line for $(LD)
Theodore Tso [Wed, 22 Feb 1995 01:06:18 +0000 (01:06 +0000)]
Add line for $(LD)

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

29 years ago * configure.in: check for HAVE_FLOCK, since we may need to use
Mark Eichin [Tue, 21 Feb 1995 23:51:47 +0000 (23:51 +0000)]
* configure.in: check for HAVE_FLOCK, since we may need to use
both flock and fcntl.
* fcc_maybe.c: try fcntl lock, if we get EINVAL specifically, fall
back to flock (if we have it.)

Now kinit et. al. "just work" on sunos and solaris, even if you use tmpfs.
(tested on sunos, the solaris build has recently broken elsewhere...)

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

29 years ago * init_ets.c (krb5_init_ets): use old-style definition
Mark Eichin [Tue, 21 Feb 1995 23:27:48 +0000 (23:27 +0000)]
* init_ets.c (krb5_init_ets): use old-style definition

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

29 years ago * config.h: get krb5/autoconf.h.
Mark Eichin [Tue, 21 Feb 1995 22:51:39 +0000 (22:51 +0000)]
* config.h: get krb5/autoconf.h.
* Makefile.in (KRB5_HEADERS): add config.h, remove rsa-md4.h and
crc-32.h which aren't here anymore.

(changes suggested by ezra peisach)

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

29 years agoUpdated krb5/error_tables for the PC. Makefile.in set up to run awk if one
Keith Vetter [Tue, 21 Feb 1995 22:45:04 +0000 (22:45 +0000)]
Updated krb5/error_tables for the PC. Makefile.in set up to run awk if one
is available.

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

29 years agoConverted krb5/free to the PC. Added windows INTERFACE keyword to the
Keith Vetter [Tue, 21 Feb 1995 22:24:44 +0000 (22:24 +0000)]
Converted krb5/free to the PC. Added windows INTERFACE keyword to the
functions and their prototypes and fixed upt the Makefile.in.

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

29 years agoPC'fied gssapi directories. Mostly changing Makefile.in and adding the
Keith Vetter [Tue, 21 Feb 1995 05:57:26 +0000 (05:57 +0000)]
PC'fied gssapi directories. Mostly changing Makefile.in and adding the
windows INTERFACE keyword to functions. A few int/long fixes.

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

29 years ago* configure.in: Flip again. Use AC_CHECK_HEADERS, but default the
John Gilmore [Tue, 21 Feb 1995 04:59:36 +0000 (04:59 +0000)]
* configure.in:  Flip again.  Use AC_CHECK_HEADERS, but default the
symbol-setting.  This is Modern Autoconf Style.

* config.h:  Create from stock/config.h and stock/config.win.
* Makefile.in (BUILT_HEADERS):  Remove config.h.
(CONF_REPLACE, CONFSRC, config.h rule):  Remove.  Config.h is
a static header file, ever since imake died.  Now it really is.
(clean):  Don't remove config.new any more.

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

29 years ago* config.h, config.win: Remove; merge them both into ../config.h.
John Gilmore [Tue, 21 Feb 1995 04:58:50 +0000 (04:58 +0000)]
* config.h, config.win:  Remove; merge them both into ../config.h.
Now that we aren't using imake, this isn't a generated header file.

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

29 years agoMade the CRYPTO directories work on the PC by adding INTERFACE to all the
Keith Vetter [Tue, 21 Feb 1995 02:11:06 +0000 (02:11 +0000)]
Made the CRYPTO directories work on the PC by adding INTERFACE to all the
functions and prototypes, and updating the Makefile.in.

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

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