[PATCH] Tell Heimdal gss code the correct credential to use

Kevin Coffman kwc at citi.umich.edu
Wed Apr 18 19:01:59 EDT 2007


From: Kevin Coffman <kwc at citi.umich.edu>

Always use the gss_krb5_ccache_name() function to tell Heimdal
which credentials to use.
---

 utils/gssd/krb5_util.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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 @@ #else	/* Heimdal */
 #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 */


More information about the NFSv4 mailing list