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:
1e4d95e
)
s3-libsmb: Don't duplicate kerberos service tickets.
author
Andreas Schneider
<asn@samba.org>
Mon, 21 Nov 2011 17:19:43 +0000
(18:19 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 5 Mar 2012 19:54:54 +0000
(20:54 +0100)
This fixes bug #8628.
Each time we do a client connection. Each time we call to function to
get the service ticket from the cache we duplicate it. So with each
connection we end up with one or three duplicated tickets.
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Dec 15 19:30:42 CET 2011 on sn-devel-104
(cherry picked from commit
d0330c7dd64b320cd86e2341b31da6be81ba829b
)
(cherry picked from commit
60cb113d98d98200b1d8b279591c930e6b0d1857
)
(cherry picked from commit
70bbd7a208014be1cb7f0e58a830787920f1d54c
)
source3/libsmb/clikrb5.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clikrb5.c
b/source3/libsmb/clikrb5.c
index 7b5cd094337bee3a27192f7396814f52f64d612e..a15fc3888c41e9763c4955bba11751fe6e36aede 100644
(file)
--- a/
source3/libsmb/clikrb5.c
+++ b/
source3/libsmb/clikrb5.c
@@
-2088,11
+2088,6
@@
krb5_error_code smb_krb5_get_credentials(krb5_context context,
goto done;
}
- ret = krb5_cc_store_cred(context, ccache, creds);
- if (ret) {
- goto done;
- }
-
if (out_creds) {
*out_creds = creds;
}