s3: Refactor smbd_smb2_request_process_negprot
commit8628ae2004665bf278a830f744fcba54eddd5db7
authorJeremy Allison <jra@samba.org>
Tue, 31 Mar 2015 23:15:59 +0000 (31 16:15 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 8 Apr 2015 19:34:26 +0000 (8 21:34 +0200)
tree6c7220cd2adcd258a5e4bf4d197fd1e816c1f2c3
parentfc4bdf5a6024eed64ea96aa974c8d253a9a35ebc
s3: Refactor smbd_smb2_request_process_negprot

Breakout smb2_protocol_dialect_match to support future work in
fsctl_validate_neg_info.

Back port of 6221937acac7017dee397d1c9846236d9fd5f613
written by Ira Cooper <ira@samba.org> and signed off
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>
source3/smbd/globals.h
source3/smbd/smb2_negprot.c