]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Tell Heimdal gss code the correct credential to use
authorKevin Coffman <kwc@citi.umich.edu>
Wed, 18 Apr 2007 23:01:59 +0000 (19:01 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 20 Apr 2007 04:39:01 +0000 (14:39 +1000)
Always use the gss_krb5_ccache_name() function to tell Heimdal
which credentials to use.

utils/gssd/krb5_util.h

index 6041048d07dc95f6be820ceef6d158cce6277b9c..9cac2027196e554614a07750750d24c4e969220b 100644 (file)
@@ -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 */