From df43b1e96c9fc29a171440b84314c2a6c53f7fd4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 10 Apr 2025 16:48:48 +0200 Subject: [PATCH] s4:libcli: pass struct loadparm_context to smbcli_sock_connect() Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- source4/libcli/cliconnect.c | 1 + source4/libcli/raw/clisocket.c | 1 + 2 files changed, 2 insertions(+) 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, -- 2.47.3