diff options
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 17371efd8a7..be9a44c1c9e 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -2224,7 +2224,8 @@ static void dcerpc_alter_context_recv_handler(struct rpc_request *subreq, tevent_req_nterror(req, NT_STATUS_LOGON_FAILURE); } else { state->p->last_fault_code = pkt->u.fault.status; - tevent_req_nterror(req, NT_STATUS_NET_WRITE_FAULT); + status = dcerpc_fault_to_nt_status(pkt->u.fault.status); + tevent_req_nterror(req, status); } return; } |