Detect when command line max protocol < min protocol
authorDavid Mulder <dmulder@suse.com>
Fri, 8 Nov 2019 17:10:47 +0000 (17:10 +0000)
committerNoel Power <npower@samba.org>
Tue, 12 Nov 2019 17:52:28 +0000 (17:52 +0000)
commit30e8f513a8bae58d7d4e88fad8f8d5497076c553
tree8ea491c07c9b60f53790b35f8d59b873a6181db7
parent6cf443ab1f9d0d939d721f58386669202d2fb56e
Detect when command line max protocol < min protocol

Due to the increased default minimum protocol
level to SMB2, some users notice that
specifying smbclient -m NT1 fails with
NT_STATUS_CONNECTION_DISCONNECTED, with no SMB
traffic on the wire. Report when the max protocol
is set less than the min protocol.

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Tue Nov 12 17:52:28 UTC 2019 on sn-devel-184
lib/param/loadparm.c
lib/param/param_table.c
source3/param/loadparm.c