From ffc7e651831126e61aa2fe2934785f478a978b58 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 31 Mar 1999 05:22:09 +0000 Subject: [PATCH] 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 --- src/lib/krb5/ccache/ChangeLog | 6 ++++++ src/lib/krb5/ccache/ccdefops.c | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) 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; -- 2.26.2