struct client_address *client_id;
struct client_address *server_id;
+ enum dcerpc_transport_t transport;
+
struct auth_serversupplied_info *session_info;
struct messaging_context *msg_ctx;
p->endian = RPC_LITTLE_ENDIAN;
p->syntax = *syntax;
+ p->transport = NCALRPC;
DEBUG(4,("Created internal pipe %s (pipes_open=%d)\n",
get_pipe_name_from_syntax(talloc_tos(), syntax), pipes_open));
static int make_server_pipes_struct(TALLOC_CTX *mem_ctx,
const char *pipe_name,
const struct ndr_syntax_id id,
+ enum dcerpc_transport_t transport,
const char *client_address,
const char *server_address,
struct auth_session_info_transport *session_info,
return -1;
}
p->syntax = id;
+ p->transport = transport;
p->mem_ctx = talloc_named(p, 0, "pipe %s %p", pipe_name, p);
if (!p->mem_ctx) {
}
ret = make_server_pipes_struct(npc,
- npc->pipe_name, npc->pipe_id,
+ npc->pipe_name, npc->pipe_id, NCACN_NP,
cli_addr, NULL, npc->session_info,
&npc->p, &error);
if (ret != 0) {
rc = make_server_pipes_struct(ncacn_conn,
pipe_name,
ncacn_conn->syntax_id,
+ ncacn_conn->transport,
cli_str,
srv_str,
ncacn_conn->session_info,