diff options
author | Andreas Schneider <asn@samba.org> | 2011-11-21 18:19:43 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-12-15 19:30:42 +0100 |
commit | d0330c7dd64b320cd86e2341b31da6be81ba829b (patch) | |
tree | 3d7377e8b5be90a8e8ac678aada9f01472ba36e3 /source3 | |
parent | 8eeb3ff753b36f8d33ae55a9ab2d8cc52fffa1a4 (diff) | |
download | samba-d0330c7dd64b320cd86e2341b31da6be81ba829b.tar.gz samba-d0330c7dd64b320cd86e2341b31da6be81ba829b.tar.bz2 samba-d0330c7dd64b320cd86e2341b31da6be81ba829b.zip |
s3-libsmb: Don't duplicate kerberos service tickets.
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
Diffstat (limited to 'source3')
-rw-r--r-- | 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 c083af20a8..6a11def19c 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; } |