diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-07-18 15:34:55 +0200 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2018-07-24 06:55:23 +0200 |
commit | 2b68f9b8b0dd944fa89b9e0037886ddd4fb4e5f9 (patch) | |
tree | 5d1e2e440870efba7777d7a3dd3b9800b0999ccd /source4/libcli/raw | |
parent | 87d73397f9a9dee8fa0055a2ff08244b2c85e120 (diff) | |
download | samba-2b68f9b8b0dd944fa89b9e0037886ddd4fb4e5f9.tar.gz |
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>
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/clitree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/raw/clitree.c b/source4/libcli/raw/clitree.c index 11be5485f26..b1b6159e750 100644 --- a/source4/libcli/raw/clitree.c +++ b/source4/libcli/raw/clitree.c @@ -207,6 +207,7 @@ NTSTATUS smbcli_tree_full_connection(TALLOC_CTX *parent_ctx, io.in.called_name = strupper_talloc(tmp_ctx, dest_host); io.in.service = service; io.in.service_type = service_type; + io.in.existing_conn = NULL; io.in.credentials = credentials; io.in.gensec_settings = gensec_settings; io.in.fallback_to_anonymous = false; |