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)
committerJeremy Allison <jra@samba.org>
Wed, 18 Jan 2012 22:14:32 +0000 (23:14 +0100)
commit39c627b60754bd89c419b2d7e32d32c7a9af5a11
treece48972e05502e079aabcfa24164714200b70e6e
parent6d141282424f1eb62ee225a32e376162b773e7a8
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
source3/smbd/proto.h
source3/smbd/service.c
source3/smbd/smb2_tcon.c