From: Kevin Coffman Date: Wed, 18 Apr 2007 23:01:59 +0000 (-0400) Subject: Tell Heimdal gss code the correct credential to use X-Git-Tag: nfs-utils-1-1-0-rc2~5 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=77458652703ab94da18e40728607e323dd2b65b1;hp=7c96fc46bb3aec5e9b8ecc4b637e66dc33db3a90 Tell Heimdal gss code the correct credential to use Always use the gss_krb5_ccache_name() function to tell Heimdal which credentials to use. --- diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h index 6041048..9cac202 100644 --- a/utils/gssd/krb5_util.h +++ b/utils/gssd/krb5_util.h @@ -42,6 +42,8 @@ int limit_krb5_enctypes(struct rpc_gss_sec *sec, uid_t uid); #define k5_free_unparsed_name(ctx, name) free(name) #define k5_free_default_realm(ctx, realm) free(realm) #define k5_free_kt_entry(ctx, kte) krb5_kt_free_entry((ctx),(kte)) +#undef USE_GSS_KRB5_CCACHE_NAME +#define USE_GSS_KRB5_CCACHE_NAME 1 #endif #endif /* KRB5_UTIL_H */