git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d26bf9d
)
cifs.upcall: 2nd part of fix for Bug #6868: support building with Heimdal we well...
author
Günther Deschner
<gd@samba.org>
Wed, 25 Nov 2009 14:06:19 +0000
(15:06 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 13 Jan 2010 13:01:01 +0000
(14:01 +0100)
Guenther
(cherry picked from commit
660ee2e74523194e5f6b2b6428d76628beb74717
)
(cherry picked from commit
1d5af511dd6f88d211b6c63b1e2d9d7ec97b03ad
)
source/client/cifs.upcall.c
patch
|
blob
|
history
diff --git
a/source/client/cifs.upcall.c
b/source/client/cifs.upcall.c
index 6d4ff7551122e556405b877e175172e1714359f8..a2616f02e14cfc9b656d7691bac8ee2795904c05 100644
(file)
--- a/
source/client/cifs.upcall.c
+++ b/
source/client/cifs.upcall.c
@@
-104,7
+104,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);