}
io.in.dest_host = dest_host;
- io.in.dest_ports = dest_ports;
io.in.socket_options = socket_options;
io.in.called_name = strupper_talloc(tmp_ctx, dest_host);
io.in.service = service;
state->io = io;
state->connect->in.dest_host = io->in.dest_host;
- state->connect->in.dest_ports = io->in.ports;
state->connect->in.socket_options = io->in.socket_options;
state->connect->in.called_name = io->in.called_name;
state->connect->in.service = io->in.service;
if (state->connect == NULL) goto failed;
state->connect->in.dest_host = io->in.dest_host;
- state->connect->in.dest_ports = io->in.dest_ports;
state->connect->in.socket_options = io->in.socket_options;
state->connect->in.called_name = io->in.called_name;
state->connect->in.service = io->in.service;
struct smb_composite_connect {
struct {
const char *dest_host;
- const char **dest_ports;
const char *socket_options;
const char *called_name;
const char *service;
remote rpc server */
target_hostname = dcerpc_binding_get_string_option(s->io.binding, "target_hostname");
conn->in.dest_host = dcerpc_binding_get_string_option(s->io.binding, "host");
- conn->in.dest_ports = lpcfg_smb_ports(lp_ctx);
conn->in.called_name = target_hostname;
if (conn->in.called_name == NULL) {
conn->in.called_name = "*SMBSERVER";
/* connect to the server, using the smbd event context */
io.in.dest_host = host;
- io.in.dest_ports = lpcfg_smb_ports(ntvfs->ctx->lp_ctx);
io.in.socket_options = lpcfg_socket_options(ntvfs->ctx->lp_ctx);
io.in.called_name = host;
io.in.existing_conn = NULL;
torture_comment(tctx, "Open Connection to %s/%s\n",host,share);
smb->in.dest_host=talloc_strdup(mem_ctx,host);
smb->in.service=talloc_strdup(mem_ctx,share);
- smb->in.dest_ports=lpcfg_smb_ports(tctx->lp_ctx);
smb->in.socket_options = lpcfg_socket_options(tctx->lp_ctx);
smb->in.called_name = strupper_talloc(mem_ctx, host);
smb->in.service_type=NULL;
}
io->in.dest_host = state->dest_host;
- io->in.dest_ports = state->dest_ports;
io->in.gensec_settings = lpcfg_gensec_settings(state->mem_ctx, state->tctx->lp_ctx);
io->in.socket_options = lpcfg_socket_options(state->tctx->lp_ctx);
io->in.called_name = state->called_name;
}
io->in.dest_host = state->dest_host;
- io->in.dest_ports = state->dest_ports;
io->in.socket_options = lpcfg_socket_options(state->tctx->lp_ctx);
io->in.called_name = state->called_name;
io->in.service = share;