diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-07-18 16:44:16 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-08-13 12:56:34 +0200 |
commit | 2fd61b0e8645a832aeb963b8f437f279f7eaa735 (patch) | |
tree | a09785f9a27ac70eaa128e9bf8cc92542ede91f0 /source4/librpc | |
parent | 2635c62553bdc59bf646a958226ea523eb610a16 (diff) | |
download | samba-2fd61b0e8645a832aeb963b8f437f279f7eaa735.tar.gz |
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)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_connect.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_connect.c b/source4/librpc/rpc/dcerpc_connect.c index 1252e74b5a9..a3f25efc0b4 100644 --- a/source4/librpc/rpc/dcerpc_connect.c +++ b/source4/librpc/rpc/dcerpc_connect.c @@ -301,6 +301,7 @@ static struct composite_context *dcerpc_pipe_connect_ncacn_np_smb2_send( "IPC$", s->io.resolve_ctx, s->io.creds, + NULL, /* existing_conn */ 0, /* previous_session_id */ &options, lpcfg_socket_options(lp_ctx), |