summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r--source4/dsdb/repl/drepl_notify.c4
-rw-r--r--source4/dsdb/repl/drepl_service.h2
2 files changed, 0 insertions, 6 deletions
diff --git a/source4/dsdb/repl/drepl_notify.c b/source4/dsdb/repl/drepl_notify.c
index 4629357711..8f315165a0 100644
--- a/source4/dsdb/repl/drepl_notify.c
+++ b/source4/dsdb/repl/drepl_notify.c
@@ -195,10 +195,6 @@ static void dreplsrv_notify_op_callback(struct tevent_req *subreq)
op->source_dsa->repsFrom1->other_info->dns_name,
ldb_dn_get_linearized(op->source_dsa->partition->dn),
nt_errstr(status), win_errstr(werr)));
- if (W_ERROR_EQUAL(werr, WERR_DS_DRA_NO_REPLICA)) {
- DEBUG(0,("Enabling SYNC_ALL workaround\n"));
- op->service->syncall_workaround = true;
- }
} else {
DEBUG(2,("dreplsrv_notify: DsReplicaSync OK for %s\n",
op->source_dsa->repsFrom1->other_info->dns_name));
diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h
index d69c641178..48b084f45b 100644
--- a/source4/dsdb/repl/drepl_service.h
+++ b/source4/dsdb/repl/drepl_service.h
@@ -230,8 +230,6 @@ struct dreplsrv_service {
bool rid_alloc_in_progress;
- bool syncall_workaround;
-
bool am_rodc;
};