diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 2 | ||||
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 1b049de4c0..e4e2bfe17f 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -1620,7 +1620,7 @@ static bool check_bind_response(const struct dcerpc_bind_ack *r, if (r->num_results != 0x1 || ctx.result != 0) { DEBUG(2,("bind_rpc_pipe: bind denied results: %d reason: %x\n", - r->num_results, ctx.reason)); + r->num_results, ctx.reason.value)); } DEBUG(5,("check_bind_response: accepted!\n")); diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index b219ee98b2..3f6f3dc38e 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -651,13 +651,13 @@ static bool api_pipe_bind_req(struct pipes_struct *p, pkt->u.bind.ctx_list[0].context_id)) { bind_ack_ctx.result = 0; - bind_ack_ctx.reason = 0; + bind_ack_ctx.reason.value = 0; bind_ack_ctx.syntax = pkt->u.bind.ctx_list[0].transfer_syntaxes[0]; } else { p->pipe_bound = False; /* Rejection reason: abstract syntax not supported */ bind_ack_ctx.result = DCERPC_BIND_PROVIDER_REJECT; - bind_ack_ctx.reason = DCERPC_BIND_REASON_ASYNTAX; + bind_ack_ctx.reason.value = DCERPC_BIND_REASON_ASYNTAX; bind_ack_ctx.syntax = ndr_syntax_id_null; } @@ -1009,13 +1009,13 @@ static bool api_pipe_alter_context(struct pipes_struct *p, pkt->u.bind.ctx_list[0].context_id)) { bind_ack_ctx.result = 0; - bind_ack_ctx.reason = 0; + bind_ack_ctx.reason.value = 0; bind_ack_ctx.syntax = pkt->u.bind.ctx_list[0].transfer_syntaxes[0]; } else { p->pipe_bound = False; /* Rejection reason: abstract syntax not supported */ bind_ack_ctx.result = DCERPC_BIND_PROVIDER_REJECT; - bind_ack_ctx.reason = DCERPC_BIND_REASON_ASYNTAX; + bind_ack_ctx.reason.value = DCERPC_BIND_REASON_ASYNTAX; bind_ack_ctx.syntax = ndr_syntax_id_null; } |