summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1999-03-31 05:22:09 +0000
committerTheodore Tso <tytso@mit.edu>1999-03-31 05:22:09 +0000
commitffc7e651831126e61aa2fe2934785f478a978b58 (patch)
tree30db3762eae62ea8f83ff12784d67a3f07014351 /src
parent2d72fab6730221dfd45077218b3e772a6e98e8bf (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ChangeLog6
-rw-r--r--src/lib/krb5/ccache/ccdefops.c9
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 <tytso@rsts-11.mit.edu>
+
+ * 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 <tytso@mit.edu>
* 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;