Revert "Fix bug #9222 - smbd ignores the "server signing = no" setting for SMB2."
commit49a335731a7139a5c66be596f3d544bef72a8556
authorJeremy Allison <jra@samba.org>
Wed, 3 Oct 2012 19:50:42 +0000 (3 12:50 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 3 Oct 2012 19:50:42 +0000 (3 12:50 -0700)
treec0025e17dca5a33de490f0e9eaed2802acca9924
parentc2f5b2466bb05939c953341517da6d9df814b27c
Revert "Fix bug #9222 - smbd ignores the "server signing = no" setting for SMB2."

This reverts commit dfd3c31a3f9eea96854b2d22574856368e86b245.

As Metze pointed out:

From MS-SMB2 section 2.2.4:

SMB2_NEGOTIATE_SIGNING_ENABLED

When set, indicates that security signatures are enabled
on the server. The server MUST set this bit, and the client MUST return
STATUS_INVALID_NETWORK_RESPONSE if the flag is missing.

I'll submit a documentation bug to fix #9222 that way.
source3/smbd/smb2_negprot.c
source3/smbd/smb2_sesssetup.c