s4:librpc: autonegotiate SMB1/2/3
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jul 2018 14:55:33 +0000 (16:55 +0200)
committerAlexander Bokovoy <ab@samba.org>
Tue, 24 Jul 2018 04:55:24 +0000 (06:55 +0200)
commit4422f7382aad3090cb959ade030a02bf4fef81ac
tree8e18675c482bdb21b3e6f9b7454d714860d5c176
parent802e43bf742e756896fa73fcd139feca9ae293dd
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>
source4/librpc/rpc/dcerpc_connect.c