libcli/smb: fix smb2cli_validate_negotiate_info with min=PROTOCOL_NT1 max=PROTOCOL_SM...
commit3eef853f741d9349e45a1a87e453c52bf56c4774
authorStefan Metzmacher <metze@samba.org>
Mon, 6 Oct 2014 12:19:39 +0000 (6 14:19 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 7 Oct 2014 20:47:04 +0000 (7 22:47 +0200)
treeea5a5b8601cea18e3d6adc667f67ac0b8ea63e51
parentb376a822259aac3904d8bb47da77173d21e8a716
libcli/smb: fix smb2cli_validate_negotiate_info with min=PROTOCOL_NT1 max=PROTOCOL_SMB2_02

If the connection starts with a SMB Negprot, the server only implies the
selected dialect, but not the clients security mode.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/smbXcli_base.c