]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libcli: pass struct loadparm_context to smbcli_sock_connect()
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Apr 2025 14:48:48 +0000 (16:48 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 10:17:30 +0000 (10:17 +0000)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/libcli/cliconnect.c
source4/libcli/raw/clisocket.c

index efe83c2226258afeadc4c81a4ffed637473d70dc..f7ca61f598e9391373511d0c69067e569cac92cf 100644 (file)
@@ -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,
index dc04a829bab8510c34ca070d8bb340ea9beac7eb..16406393a8e67a2701ad578d225dd259023fb8a4 100644 (file)
@@ -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,