s3-libsmb: Don't duplicate kerberos service tickets.
commitdacc8370ae2be513fbddb2e620d7a9dabd177ed8
authorAndreas Schneider <asn@samba.org>
Mon, 21 Nov 2011 17:19:43 +0000 (21 18:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:29:26 +0000 (23 21:29 +0100)
tree248567385745c13d204130e095ccb50a3e062b3f
parent0ba828c25bf0107c14b47def830405b8848e6a55
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
(cherry picked from commit d0330c7dd64b320cd86e2341b31da6be81ba829b)
(cherry picked from commit 60cb113d98d98200b1d8b279591c930e6b0d1857)
source3/libsmb/clikrb5.c