From 9e2f7070cf0eaf74297d565892edf5089756b124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Wed, 25 Nov 2009 15:06:19 +0100 Subject: [PATCH] cifs.upcall: 2nd part of fix for Bug #6868: support building with Heimdal we well as with MIT. Guenther (cherry picked from commit 660ee2e74523194e5f6b2b6428d76628beb74717) --- client/cifs.upcall.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/client/cifs.upcall.c b/client/cifs.upcall.c index d3ff5f1..063e423 100644 --- a/client/cifs.upcall.c +++ b/client/cifs.upcall.c @@ -105,7 +105,9 @@ err_endseq: err_ccstart: krb5_free_principal(context, principal); err_princ: +#if defined(KRB5_TC_OPENCLOSE) krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE); +#endif krb5_cc_close(context, ccache); err_cache: krb5_free_context(context); -- 1.6.5.2