summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-29 22:04:21 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-29 22:12:57 -0700
commit287e35f4cfe8be3663afcde50d9cc66e120c43b6 (patch)
treeccc9f7f2df1704bd9f9b1bdbd2014a62f0e70db5 /source4/dsdb/repl
parent4d551753d62728b60a439d1b996d4a1e3358c42b (diff)
downloadsamba-287e35f4cfe8be3663afcde50d9cc66e120c43b6.tar.gz
samba-287e35f4cfe8be3663afcde50d9cc66e120c43b6.tar.bz2
samba-287e35f4cfe8be3663afcde50d9cc66e120c43b6.zip
s4-drepl: fixed the checking of replica_flags in the drepl server
we were incorrectly avoiding a getncchanges when WRIT_REP was not set Pair-Programmed-With: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index d2704ff133..1477d6fb54 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -337,11 +337,6 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req)
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;
@@ -389,8 +384,6 @@ static void dreplsrv_op_pull_source_get_changes_trigger(struct tevent_req *req)
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;