summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 70c60b100a..244ac9fdfa 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -576,7 +576,7 @@ static void dcerpc_bind_recv_handler(struct rpc_request *req,
if ((pkt->ptype != DCERPC_PKT_BIND_ACK) ||
(pkt->u.bind_ack.num_results == 0) ||
(pkt->u.bind_ack.ctx_list[0].result != 0)) {
- composite_error(c, NT_STATUS_UNSUCCESSFUL);
+ composite_error(c, NT_STATUS_NET_WRITE_FAULT);
return;
}
@@ -1529,7 +1529,7 @@ static void dcerpc_alter_recv_handler(struct rpc_request *req,
if (pkt->ptype != DCERPC_PKT_ALTER_RESP ||
pkt->u.alter_resp.num_results == 0 ||
pkt->u.alter_resp.ctx_list[0].result != 0) {
- composite_error(c, NT_STATUS_UNSUCCESSFUL);
+ composite_error(c, NT_STATUS_NET_WRITE_FAULT);
return;
}