s4:librpc: autonegotiate SMB1/2/3
commite3e64256a15ab05dfd69f2b3b6d8fe32ea794f04
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jul 2018 14:55:33 +0000 (18 16:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 Jul 2018 10:36:25 +0000 (31 12:36 +0200)
tree0744a8a6c9e44ffac06fde5c9d4a5281a759e5a3
parent25405ee6c1c4f422e91e051c8638aca41b29769d
s4:librpc: autonegotiate SMB1/2/3

Windows Server 1709 defaults to SMB2 and does not have SMB1 enabled.
When establishing trust, samba-tool does not specify SMB protocol
version and fail by default.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 4422f7382aad3090cb959ade030a02bf4fef81ac)
source4/librpc/rpc/dcerpc_connect.c