From 303ef62b29227a53199f870c18ea2278853e1ddc Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 25 Sep 2012 13:27:04 -0700 Subject: kcc: return invalid parameter if the taskId is not 0 --- source4/rpc_server/drsuapi/dcesrv_drsuapi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c index 1f0ea9c8d6..e71a1b1989 100644 --- a/source4/rpc_server/drsuapi/dcesrv_drsuapi.c +++ b/source4/rpc_server/drsuapi/dcesrv_drsuapi.c @@ -810,7 +810,9 @@ static WERROR dcesrv_drsuapi_DsExecuteKCC(struct dcesrv_call_state *dce_call, TA if (!W_ERROR_IS_OK(status)) { return status; } - + if (r->in.req->ctr1.taskID != 0) { + return WERR_INVALID_PARAM; + } dcesrv_irpc_forward_rpc_call(dce_call, mem_ctx, r, NDR_DRSUAPI_DSEXECUTEKCC, &ndr_table_drsuapi, "kccsrv", "DsExecuteKCC", IRPC_CALL_TIMEOUT); -- cgit