s3: smbd - Fix SMB3.11 protocol encryption selection.
authorJeremy Allison <jra@samba.org>
Wed, 17 Jun 2015 22:50:31 +0000 (15:50 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 18 Jun 2015 02:09:04 +0000 (04:09 +0200)
commitcd570757c8335b89d3f23727345758c336d45e7b
tree4319e32e7aebaf5f60ea61f84662422b7ddf0f88
parentdb59f9ec731e3abbeba3070925a6dedaac26e6e5
s3: smbd - Fix SMB3.11 protocol encryption selection.

Selecting encryption in 3.11 depends on the negprot contexts being present.
Setting SMB2_CAP_ENCRYPTION from the 3.11 client is optional. The absence
of it should not remove the negprot context.

Found by the Microsoft testsuites at the Redmond plugfest.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Steve French <sfrench@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 18 04:09:04 CEST 2015 on sn-devel-104
source3/smbd/smb2_negprot.c