1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s4/getncchanges: Pre-mark extended requests as success in case a sub-function "forget" to do this

This commit is contained in:
Kamen Mazdrashki 2011-05-11 21:09:34 +03:00
parent 55916e273f
commit 647827d09c

View File

@ -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