summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-09-24 17:41:36 -0700
committerAndrew Tridgell <tridge@samba.org>2008-09-24 18:10:23 -0700
commit5a5e2df5694c5dc1be2692e8547370bcdfc58ad0 (patch)
tree1f17210189146f4fd1d1d1ed7308247a9f1f0661
parent742a99e046313760a281da67eb3ba6e7fcfa8fa6 (diff)
downloadsamba-5a5e2df5694c5dc1be2692e8547370bcdfc58ad0.tar.gz
samba-5a5e2df5694c5dc1be2692e8547370bcdfc58ad0.tar.bz2
samba-5a5e2df5694c5dc1be2692e8547370bcdfc58ad0.zip
for use in python we need to use global_loadparm
-rw-r--r--source4/libcli/smb2/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c
index e0b75a2542..db2f97bb94 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;
}