return 1;
}
- ok = smbcli_socket_connect(cli, server_name, destports,
+ ok = smbcli_socket_connect(cli, server_name,
ev_ctx, resolve_ctx, options,
socket_options,
&calling, &called);
wrapper around smbcli_sock_connect()
*/
bool smbcli_socket_connect(struct smbcli_state *cli, const char *server,
- const char **ports,
struct tevent_context *ev_ctx,
struct resolve_context *resolve_ctx,
struct smbcli_options *options,
int fnum, const void *_buf, off_t offset, size_t size1);
bool smbcli_socket_connect(struct smbcli_state *cli, const char *server,
- const char **ports,
struct tevent_context *ev_ctx,
struct resolve_context *resolve_ctx,
struct smbcli_options *options,
lpcfg_smbcli_options(tctx->lp_ctx, &options);
- ok = smbcli_socket_connect(cli, host, lpcfg_smb_ports(tctx->lp_ctx),
+ ok = smbcli_socket_connect(cli, host,
tctx->ev,
lpcfg_resolve_context(tctx->lp_ctx),
&options,