diff options
Diffstat (limited to 'source4/client/client.c')
-rw-r--r-- | source4/client/client.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index 55a2d0c0d02..cf834b9e1fa 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -3055,7 +3055,6 @@ static bool do_connect(struct smbclient_context *ctx, struct cli_credentials *cred, struct smbcli_options *options, struct smbcli_session_options *session_options, - struct smb_iconv_convenience *iconv_convenience, struct gensec_settings *gensec_settings) { NTSTATUS status; @@ -3078,7 +3077,6 @@ static bool do_connect(struct smbclient_context *ctx, socket_options, cred, resolve_ctx, ev_ctx, options, session_options, - iconv_convenience, gensec_settings); if (!NT_STATUS_IS_OK(status)) { d_printf("Connection to \\\\%s\\%s failed - %s\n", @@ -3113,7 +3111,6 @@ static int do_message_op(const char *netbios_name, const char *desthost, struct tevent_context *ev_ctx, struct resolve_context *resolve_ctx, struct smbcli_options *options, - struct smb_iconv_convenience *iconv_convenience, const char *socket_options) { struct nbt_name called, calling; @@ -3129,7 +3126,6 @@ static int do_message_op(const char *netbios_name, const char *desthost, if (!(cli = smbcli_state_init(NULL)) || !smbcli_socket_connect(cli, server_name, destports, ev_ctx, resolve_ctx, options, - iconv_convenience, socket_options)) { d_printf("Connection to %s failed\n", server_name); return 1; @@ -3283,7 +3279,7 @@ static int do_message_op(const char *netbios_name, const char *desthost, lp_smb_ports(cmdline_lp_ctx), dest_ip, name_type, ev_ctx, lp_resolve_context(cmdline_lp_ctx), - &smb_options, lp_iconv_convenience(cmdline_lp_ctx), + &smb_options, lp_socket_options(cmdline_lp_ctx)); return rc; } @@ -3292,7 +3288,6 @@ static int do_message_op(const char *netbios_name, const char *desthost, 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), lp_gensec_settings(ctx, cmdline_lp_ctx))) return 1; |