From 688a2702d2045abf5f99acfb59f3f372391e5be4 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 24 Jul 2012 16:26:28 -0400 Subject: Support changing the built-in ccache/keytab names * Add DEFCCNAME, DEFKTNAME, and DEFCKTNAME configure variables to change the built-in ccache and keytab names. * Add krb5-config options to display the built-in ccache and keytab names. * In the default build, use krb5-config to discover the system's built-in ccache and keytab names and use them (if not overridden). This can be controlled with the --with-krb5-config=PATH or --without-krb5-config configure options. * Make the built-in ccache name subject to parameter expansion. ticket: 7221 (new) --- src/include/win-mac.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/win-mac.h') diff --git a/src/include/win-mac.h b/src/include/win-mac.h index 2274d8a51d..daec295b2c 100644 --- a/src/include/win-mac.h +++ b/src/include/win-mac.h @@ -231,6 +231,9 @@ HINSTANCE get_lib_instance(void); #define THREEPARAMOPEN(x,y,z) open(x,y,z) +#define DEFKTNAME "FILE:%{WINDOWS}\\krb5kt" +#define DEFCKTNAME "FILE:%{WINDOWS}\\krb5clientkt" + #ifndef KRB5_CALLCONV #define KRB5_CALLCONV #endif -- cgit