diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-26 16:44:44 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-26 19:06:07 +1000 |
commit | a31c711ba7dcd7516fd7b4de8c602a2fc30672db (patch) | |
tree | 91aa084f39ac44007f73e2c0fa9a3edf3979ad81 | |
parent | 6ee1c503bf90abbea137ce789ce5a8a54b437629 (diff) | |
download | samba-a31c711ba7dcd7516fd7b4de8c602a2fc30672db.tar.gz samba-a31c711ba7dcd7516fd7b4de8c602a2fc30672db.tar.bz2 samba-a31c711ba7dcd7516fd7b4de8c602a2fc30672db.zip |
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>
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index e8d2b24767..52b519c924 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -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; } |