From: Stefan Metzmacher Date: Thu, 10 Apr 2025 14:48:48 +0000 (+0200) Subject: s4:libcli: pass struct loadparm_context to smbcli_sock_connect() X-Git-Tag: tevent-0.17.0~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df43b1e96c9fc29a171440b84314c2a6c53f7fd4;p=thirdparty%2Fsamba.git s4:libcli: pass struct loadparm_context to smbcli_sock_connect() Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/source4/libcli/cliconnect.c b/source4/libcli/cliconnect.c index efe83c22262..f7ca61f598e 100644 --- a/source4/libcli/cliconnect.c +++ b/source4/libcli/cliconnect.c @@ -48,6 +48,7 @@ bool smbcli_socket_connect(struct smbcli_state *cli, const char *server, NULL, /* host_addr */ &cli->options, server, + lp_ctx, resolve_ctx, ev_ctx, socket_options, diff --git a/source4/libcli/raw/clisocket.c b/source4/libcli/raw/clisocket.c index dc04a829bab..16406393a8e 100644 --- a/source4/libcli/raw/clisocket.c +++ b/source4/libcli/raw/clisocket.c @@ -477,6 +477,7 @@ NTSTATUS smbcli_sock_connect(TALLOC_CTX *mem_ctx, const char *host_addr, const struct smbcli_options *options, const char *host_name, + struct loadparm_context *lp_ctx, struct resolve_context *resolve_ctx, struct tevent_context *event_ctx, const char *socket_options,