summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 23:09:18 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 23:09:18 +0100
commit79423337125978f5b5eef341283ff2a9c891fc5c (patch)
treea47d11107cb1445709497c0d8890bf5d2f7ed864 /source4/librpc
parent9293c59e25195b0d84b13a2a7adc1974adab98a6 (diff)
downloadsamba-79423337125978f5b5eef341283ff2a9c891fc5c.tar.gz
samba-79423337125978f5b5eef341283ff2a9c891fc5c.tar.bz2
samba-79423337125978f5b5eef341283ff2a9c891fc5c.zip
Remove another use of global_loadparm.
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/rpc/dcerpc_connect.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_connect.c b/source4/librpc/rpc/dcerpc_connect.c
index 9583fcdc02..7bdd89649e 100644
--- a/source4/librpc/rpc/dcerpc_connect.c
+++ b/source4/librpc/rpc/dcerpc_connect.c
@@ -247,7 +247,9 @@ static struct composite_context *dcerpc_pipe_connect_ncacn_np_smb2_send(
lp_smbcli_options(lp_ctx, &options);
/* send smb2 connect request */
- conn_req = smb2_connect_send(mem_ctx, s->io.binding->host, "IPC$",
+ conn_req = smb2_connect_send(mem_ctx, s->io.binding->host,
+ lp_parm_string_list(mem_ctx, lp_ctx, NULL, "smb2", "ports", NULL),
+ "IPC$",
s->io.resolve_ctx,
s->io.creds,
c->event_ctx,