s4:libcli: allow passing an already negotiated connection to smb2_connect_send()
commitf20e607c15b4c8ae56ade5d7e68d832542a2cd5e
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jul 2018 14:44:16 +0000 (18 16:44 +0200)
committerAlexander Bokovoy <ab@samba.org>
Tue, 24 Jul 2018 04:55:23 +0000 (24 06:55 +0200)
treef79c6ca6c39352ccd18bbb2deead3b367dde317b
parent5ad5b81b6ef601596583b4ad7d6a14241fa99a71
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>
source4/libcli/smb2/connect.c
source4/librpc/rpc/dcerpc_connect.c