git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15832c2
)
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>
Mon, 30 Nov 2009 14:21:07 +0000
(15:21 +0100)
Guenther
(cherry picked from commit
660ee2e74523194e5f6b2b6428d76628beb74717
)
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);