s4:libcli: allow passing an already negotiated connection to smb2_connect_send()
commit4d7023f8ab70d00f1321d99d64c87665fdf4cab1
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jul 2018 14:44:16 +0000 (18 16:44 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 31 Jul 2018 10:36:24 +0000 (31 12:36 +0200)
treef6b1583496e1e7ed3c226bd1da33ee3fd6578144
parenta3a5797e2874eb14e918961e7e46f2d288930d5f
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