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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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