This was only used inside rpc_worker_new_client(), a leftover from
times where accepting a client was an async process waiting for the
struct named_pipe_auth_req_info4.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
dcerpc_ncacn_termination_fn termination_fn;
void *termination_data;
- struct dcesrv_context *dce_ctx;
struct dcesrv_endpoint *endpoint;
struct tstream_context *tstream;
goto fail;
}
*ncacn_conn = (struct dcerpc_ncacn_conn) {
- .dce_ctx = dce_ctx,
.endpoint = ep,
.sock = sock,
.termination_fn = rpc_worker_connection_terminated,
ncacn_conn->p->transport = transport;
status = dcesrv_endpoint_connect(
- ncacn_conn->dce_ctx,
+ dce_ctx,
ncacn_conn,
ep,
ncacn_conn->session_info,