s3-libsmb: Don't duplicate kerberos service tickets.
commit60cb113d98d98200b1d8b279591c930e6b0d1857
authorAndreas Schneider <asn@samba.org>
Mon, 21 Nov 2011 17:19:43 +0000 (21 18:19 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 4 Jan 2012 20:38:23 +0000 (4 21:38 +0100)
tree39d89708320c6f0770fb62fb3010351e6375f47d
parent627f57f0714f257c6082b21447d122935c6e92e2
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)
source3/libsmb/clikrb5.c