From: Theodore Tso Date: Wed, 31 Mar 1999 05:22:09 +0000 (+0000) Subject: ccdefops.c: Change the default ccache type under windows to be X-Git-Tag: krb5-1.1-beta1~248 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ffc7e651831126e61aa2fe2934785f478a978b58;p=krb5.git ccdefops.c: Change the default ccache type under windows to be original FILE ccache type; this will get set to ccapi if the krbcc32.dll can be found. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11334 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 273c0f663..4671dccf8 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,9 @@ +1999-03-31 Theodore Ts'o + + * ccdefops.c: Change the default ccache type under windows to be + original FILE ccache type; this will get set to ccapi if + the krbcc32.dll can be found. + Mon Feb 8 21:53:37 1999 Theodore Y. Ts'o * Makefile.in: Enable the ccapi directory for windows builds. diff --git a/src/lib/krb5/ccache/ccdefops.c b/src/lib/krb5/ccache/ccdefops.c index 9c39f40f5..20081cc8e 100644 --- a/src/lib/krb5/ccache/ccdefops.c +++ b/src/lib/krb5/ccache/ccdefops.c @@ -27,9 +27,14 @@ #include "k5-int.h" -#if defined(macintosh) || defined(_MSDOS) || defined(_WIN32) +#if defined(macintosh) -/* Macs and PCs use the shared, memory based credentials cache */ +/* + * Macs use the shared, memory based credentials cache + * Windows may also use the ccapi cache, but only if the Krbcc32.dll + * can be found; otherwise it falls back to using the old + * file-based ccache. + */ #include "stdcc.h" /* from ccapi subdir */ krb5_cc_ops *krb5_cc_dfl_ops = &krb5_cc_stdcc_ops;