diff options
author | Günther Deschner <gd@samba.org> | 2009-11-25 15:06:19 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-11-26 11:41:18 +0100 |
commit | d1253d9cde1930707b72a306c00a32357635e1c8 (patch) | |
tree | df4da8ad87645c7af5a4bd84335f888f2373ba00 /client/cifs.upcall.c | |
parent | d06511b545ee2160aaea8f71b0bf54d60b5ffede (diff) | |
download | samba-d1253d9cde1930707b72a306c00a32357635e1c8.tar.gz |
cifs.upcall: 2nd part of fix for Bug #6868: support building with Heimdal we well as with MIT.
Guenther
(cherry picked from commit 660ee2e74523194e5f6b2b6428d76628beb74717)
(cherry picked from commit 9e2f7070cf0eaf74297d565892edf5089756b124)
Diffstat (limited to 'client/cifs.upcall.c')
-rw-r--r-- | 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 d3ff5f17a2d..063e4237f48 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); |