s4:libcli: allow passing an already negotiated connection to smb_composite_connect()
authorStefan Metzmacher <metze@samba.org>
Wed, 18 Jul 2018 13:34:55 +0000 (15:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Aug 2018 10:56:33 +0000 (12:56 +0200)
commit1136ff225fb021c39d9752bb06cbf397a1a0439a
tree290d25c3638f7cd02b230472aed2f0f08ba3e9db
parent77ab463cba24482c049b6977fec82917f68b569a
s4:libcli: allow passing an already negotiated connection to smb_composite_connect()

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 2b68f9b8b0dd944fa89b9e0037886ddd4fb4e5f9)
source4/libcli/raw/clitree.c
source4/libcli/smb_composite/connect.c
source4/libcli/smb_composite/smb_composite.h
source4/ntvfs/cifs/vfs_cifs.c