git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
742a99e
)
for use in python we need to use global_loadparm
author
Andrew Tridgell
<tridge@samba.org>
Thu, 25 Sep 2008 00:41:36 +0000
(17:41 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 25 Sep 2008 01:10:23 +0000
(18:10 -0700)
source4/libcli/smb2/connect.c
patch
|
blob
|
history
diff --git
a/source4/libcli/smb2/connect.c
b/source4/libcli/smb2/connect.c
index e0b75a2542ea322915feb967c8d27db18acd8c19..db2f97bb942b515510ed7f3333ab5d6bd6947306 100644
(file)
--- 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;
}