diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 6bf6f0c63fb..4fc6a72a9d3 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -419,6 +419,7 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name, const struct tsocket_address *local_address, const struct tsocket_address *remote_address, struct auth_session_info *session_info, + struct tevent_context *ev_ctx, struct messaging_context *msg_ctx, struct fake_file_handle **phandle) { diff --git a/source3/rpc_server/srv_pipe_hnd.h b/source3/rpc_server/srv_pipe_hnd.h index 286efe05773..b80f4a983d5 100644 --- a/source3/rpc_server/srv_pipe_hnd.h +++ b/source3/rpc_server/srv_pipe_hnd.h @@ -32,6 +32,7 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name, const struct tsocket_address *local_address, const struct tsocket_address *remote_address, struct auth_session_info *session_info, + struct tevent_context *ev_ctx, struct messaging_context *msg_ctx, struct fake_file_handle **phandle); bool np_read_in_progress(struct fake_file_handle *handle); diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c index 05d98d4782e..f1f61bbc5b8 100644 --- a/source3/smbd/pipes.c +++ b/source3/smbd/pipes.c @@ -67,6 +67,7 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name, conn->sconn->local_address, conn->sconn->remote_address, conn->session_info, + conn->sconn->ev_ctx, conn->sconn->msg_ctx, &fsp->fake_file_handle); if (!NT_STATUS_IS_OK(status)) {