From 5a5e2df5694c5dc1be2692e8547370bcdfc58ad0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 24 Sep 2008 17:41:36 -0700 Subject: [PATCH] for use in python we need to use global_loadparm --- source4/libcli/smb2/connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index e0b75a2542e..db2f97bb942 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -210,7 +210,7 @@ static void continue_resolve(struct composite_context *creq) const char **ports; const char *default_ports[] = { "445", NULL }; - ports = lp_parm_string_list(state, cmdline_lp_ctx, NULL, "smb2", "ports", NULL); + ports = lp_parm_string_list(state, global_loadparm, NULL, "smb2", "ports", NULL); if (ports == NULL) { ports = default_ports; } -- 2.34.1