const char *destip,
int name_type,
struct tevent_context *ev_ctx,
+ struct loadparm_context *lp_ctx,
struct resolve_context *resolve_ctx,
struct smbcli_options *options,
const char *socket_options)
}
ok = smbcli_socket_connect(cli, server_name,
- ev_ctx, resolve_ctx, options,
+ ev_ctx, lp_ctx, resolve_ctx, options,
socket_options,
&calling, &called);
if (!ok) {
rc = do_message_op(lpcfg_netbios_name(lp_ctx), desthost,
dest_ip,
name_type, ev_ctx,
+ lp_ctx,
lpcfg_resolve_context(lp_ctx),
&smb_options,
lpcfg_socket_options(lp_ctx));
*/
bool smbcli_socket_connect(struct smbcli_state *cli, const char *server,
struct tevent_context *ev_ctx,
+ struct loadparm_context *lp_ctx,
struct resolve_context *resolve_ctx,
struct smbcli_options *options,
const char *socket_options,
bool smbcli_socket_connect(struct smbcli_state *cli, const char *server,
struct tevent_context *ev_ctx,
+ struct loadparm_context *lp_ctx,
struct resolve_context *resolve_ctx,
struct smbcli_options *options,
const char *socket_options,
ok = smbcli_socket_connect(cli, host,
tctx->ev,
+ tctx->lp_ctx,
lpcfg_resolve_context(tctx->lp_ctx),
&options,
lpcfg_socket_options(tctx->lp_ctx),