s3: Fix fsctl_validate_neg_info to pass MS compliance suite.
commit05284b811896da5f4f5a3d9051e7c2707b9712d0
authorJeremy Allison <jra@samba.org>
Tue, 31 Mar 2015 23:20:51 +0000 (31 16:20 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 8 Apr 2015 21:42:49 +0000 (8 23:42 +0200)
treee23794d5a46ef14eed423d7245d7d27381cbbc89
parent8628ae2004665bf278a830f744fcba54eddd5db7
s3: Fix fsctl_validate_neg_info to pass MS compliance suite.

It turns out that all the client and server need to agree on is what
protocol should have been negotiated.  If they disagree, they should
disconnect.  The contents of the list of protocols used during
negotiate and during FSCTL_VALIDATE_NEGOTIATE_INFO do not need to match.

Back-port of patch 439de096ae0e1c1b8812fa202f5eba7a891d7a0a written
by Ira Cooper <ira@samba.org> and reviewed by Stefan Metzmacher <metze@samba.org>.

Fixes bug #11187 - Mac OS X 10.10.x fails Validate Negotiate Request to 4.1.x

https://bugzilla.samba.org/show_bug.cgi?id=11187

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Wed Apr  8 23:42:50 CEST 2015 on sn-devel-104
source3/smbd/smb2_ioctl_network_fs.c