we were incorrectly avoiding a getncchanges when WRIT_REP was not set
Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
NTSTATUS status;
uint32_t replica_flags;
- if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0 &&
- state->op->extended_op == DRSUAPI_EXOP_NONE) {
- return;
- }
-
r = talloc(state, struct drsuapi_DsGetNCChanges);
if (tevent_req_nomem(r, req)) {
return;
DEBUG(0,(__location__ ": Failed to construct partial attribute set : %s\n", nt_errstr(status)));
return;
}
-
- replica_flags &= ~DRSUAPI_DRS_WRIT_REP;
}
r->in.bind_handle = &drsuapi->bind_handle;