summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-02 02:30:21 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-02 02:30:21 +0100
commit3ebc574be4049905c6f08d188fd3cdfdc4d3ba32 (patch)
tree92545c4a647fc6d21586b538092ffe885cfe4982 /source4/client
parentb034c519f53cffbac21c3db79ee24cdd8f1ce4a2 (diff)
downloadsamba-3ebc574be4049905c6f08d188fd3cdfdc4d3ba32.tar.gz
samba-3ebc574be4049905c6f08d188fd3cdfdc4d3ba32.tar.bz2
samba-3ebc574be4049905c6f08d188fd3cdfdc4d3ba32.zip
Fix the build.
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 8936a3cf2f..5066df1f54 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3045,6 +3045,7 @@ static bool do_connect(struct smbclient_context *ctx,
struct resolve_context *resolve_ctx,
const char *specified_server, const char **ports,
const char *specified_share,
+ const char *socket_options,
struct cli_credentials *cred,
struct smbcli_options *options,
struct smbcli_session_options *session_options,
@@ -3066,7 +3067,9 @@ static bool do_connect(struct smbclient_context *ctx,
ctx->remote_cur_dir = talloc_strdup(ctx, "\\");
status = smbcli_full_connection(ctx, &ctx->cli, server, ports,
- share, NULL, cred, resolve_ctx,
+ share, NULL,
+ socket_options,
+ cred, resolve_ctx,
ev_ctx, options, session_options,
iconv_convenience);
if (!NT_STATUS_IS_OK(status)) {
@@ -3279,6 +3282,7 @@ static int do_message_op(const char *netbios_name, const char *desthost,
if (!do_connect(ctx, ev_ctx, lp_resolve_context(cmdline_lp_ctx),
desthost, lp_smb_ports(cmdline_lp_ctx), service,
+ lp_socket_options(cmdline_lp_ctx),
cmdline_credentials, &smb_options, &smb_session_options,
lp_iconv_convenience(cmdline_lp_ctx)))
return 1;