Fix bug 8710 - connections.tdb - major leak with SMB2.
commit50336617279641fc980ea08a8d9f75713b6d2719
authorJeremy Allison <jra@samba.org>
Wed, 18 Jan 2012 20:38:14 +0000 (18 12:38 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 20:30:15 +0000 (23 21:30 +0100)
tree9d93cfecbaebdf332d95cac64d47da94de8220d6
parent2dcf2267cb21e79380b8fc7f32b44463b3173cec
Fix bug 8710 - connections.tdb - major leak with SMB2.

Ensure the cnum used to claim the connection for SMB2 is the
id that will be used for the SMB2 tcon. Based on code from
Ira Cooper <ira@wakeful.net>.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jan 18 23:14:32 CET 2012 on sn-devel-104
(cherry picked from commit 39c627b60754bd89c419b2d7e32d32c7a9af5a11)
(cherry picked from commit a455a63eaf84024f79922e95a740bf3443f37954)
source3/smbd/proto.h
source3/smbd/service.c
source3/smbd/smb2_tcon.c