1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

s4-drs: allow getncchanges requests to non WRIT_REP partitions for extended ops

Needed for RID allocation

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2010-04-26 16:44:44 +10:00
parent 6ee1c503bf
commit a31c711ba7

View File

@ -272,7 +272,8 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req)
struct drsuapi_DsReplicaCursorCtrEx *uptodateness_vector;
struct tevent_req *subreq;
if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0) {
if ((rf1->replica_flags & DRSUAPI_DRS_WRIT_REP) == 0 &&
state->op->extended_op == DRSUAPI_EXOP_NONE) {
return;
}