From c94fa7223efd69134c3d1af4c6687ea16d634ea9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 21 Nov 2011 18:19:43 +0100 Subject: [PATCH] s3-libsmb: Don't duplicate kerberos service tickets. 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. Signed-off-by: Andreas Schneider --- source3/libsmb/clikrb5.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index c083af2..6a11def 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -1817,11 +1817,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; } -- 1.7.7.3