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:
17caf63
)
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
Günther Deschner
<gd@samba.org>
Wed, 25 Nov 2009 16:58:52 +0000
(17:58 +0100)
Guenther
client/cifs.upcall.c
patch
|
blob
|
history
diff --git
a/client/cifs.upcall.c
b/client/cifs.upcall.c
index d3ff5f17a2d8c956ce625447e2b334e5714fe471..063e4237f481beb7cfe4a9a73ed49fe220c68e6a 100644
(file)
--- 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:
err_ccstart:
krb5_free_principal(context, principal);
err_princ:
+#if defined(KRB5_TC_OPENCLOSE)
krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE);
krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE);
+#endif
krb5_cc_close(context, ccache);
err_cache:
krb5_free_context(context);
krb5_cc_close(context, ccache);
err_cache:
krb5_free_context(context);