Fix bug 8710 - connections.tdb - major leak with SMB2.
authorJeremy Allison <jra@samba.org>
Wed, 18 Jan 2012 20:38:14 +0000 (12:38 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sat, 21 Jan 2012 20:04:50 +0000 (21:04 +0100)
commita455a63eaf84024f79922e95a740bf3443f37954
tree45b6bacb5b38921e58400fdd74c4e3ba52283317
parent6e77eac8f21925460e3b1946c2c22f6eff296322
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)
source3/smbd/proto.h
source3/smbd/service.c
source3/smbd/smb2_tcon.c