From 647827d09ccba7bcfa6454119afc22de96397128 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Wed, 11 May 2011 21:09:34 +0300 Subject: s4/getncchanges: Pre-mark extended requests as success in case a sub-function "forget" to do this --- source4/rpc_server/drsuapi/getncchanges.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/rpc_server') diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 413ffce11a0..0c196aab55f 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -1411,6 +1411,10 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_ ldb_get_schema_basedn(b_state->sam_ctx)); getnc_state->is_schema_nc = (0 == ret); + if (req10->extended_op != DRSUAPI_EXOP_NONE) { + r->out.ctr->ctr6.extended_ret = DRSUAPI_EXOP_ERR_SUCCESS; + } + /* * This is the first replication cycle and it is * a good place to handle extended operations -- cgit