s4:libcli: allow passing an already negotiated connection to smb2_connect_send()
commit2fd61b0e8645a832aeb963b8f437f279f7eaa735
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jul 2018 14:44:16 +0000 (18 16:44 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Aug 2018 10:56:34 +0000 (13 12:56 +0200)
treea09785f9a27ac70eaa128e9bf8cc92542ede91f0
parent2635c62553bdc59bf646a958226ea523eb610a16
s4:libcli: allow passing an already negotiated connection to smb2_connect_send()

It will just do the session setup and tree connect steps.

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 f20e607c15b4c8ae56ade5d7e68d832542a2cd5e)
source4/libcli/smb2/connect.c
source4/librpc/rpc/dcerpc_connect.c