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:
57b2d5a
)
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, 23 Dec 2009 11:07:43 +0000
(12:07 +0100)
Guenther
(cherry picked from commit
660ee2e74523194e5f6b2b6428d76628beb74717
)
(cherry picked from commit
e3a06f282d5e5c06bd006497dd8736a531e6cb3b
)
source3/client/cifs.upcall.c
patch
|
blob
|
history
diff --git
a/source3/client/cifs.upcall.c
b/source3/client/cifs.upcall.c
index ecd0348b58c10a69a65beab5b9c30b0b6a91ff67..d4010a39631a281bf7bef1c6a05f24ab2bfcefbc 100644
(file)
--- a/
source3/client/cifs.upcall.c
+++ b/
source3/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);