mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
s3-rpc_server: Pass the server event context to np_open().
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
7daa4b94fa
commit
4498d07e73
@ -419,6 +419,7 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
|
|||||||
const struct tsocket_address *local_address,
|
const struct tsocket_address *local_address,
|
||||||
const struct tsocket_address *remote_address,
|
const struct tsocket_address *remote_address,
|
||||||
struct auth_session_info *session_info,
|
struct auth_session_info *session_info,
|
||||||
|
struct tevent_context *ev_ctx,
|
||||||
struct messaging_context *msg_ctx,
|
struct messaging_context *msg_ctx,
|
||||||
struct fake_file_handle **phandle)
|
struct fake_file_handle **phandle)
|
||||||
{
|
{
|
||||||
|
@ -32,6 +32,7 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
|
|||||||
const struct tsocket_address *local_address,
|
const struct tsocket_address *local_address,
|
||||||
const struct tsocket_address *remote_address,
|
const struct tsocket_address *remote_address,
|
||||||
struct auth_session_info *session_info,
|
struct auth_session_info *session_info,
|
||||||
|
struct tevent_context *ev_ctx,
|
||||||
struct messaging_context *msg_ctx,
|
struct messaging_context *msg_ctx,
|
||||||
struct fake_file_handle **phandle);
|
struct fake_file_handle **phandle);
|
||||||
bool np_read_in_progress(struct fake_file_handle *handle);
|
bool np_read_in_progress(struct fake_file_handle *handle);
|
||||||
|
@ -67,6 +67,7 @@ NTSTATUS open_np_file(struct smb_request *smb_req, const char *name,
|
|||||||
conn->sconn->local_address,
|
conn->sconn->local_address,
|
||||||
conn->sconn->remote_address,
|
conn->sconn->remote_address,
|
||||||
conn->session_info,
|
conn->session_info,
|
||||||
|
conn->sconn->ev_ctx,
|
||||||
conn->sconn->msg_ctx,
|
conn->sconn->msg_ctx,
|
||||||
&fsp->fake_file_handle);
|
&fsp->fake_file_handle);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user