s4-repl: removed the syncall_workaround code
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Nov 2010 12:48:23 +0000 (23:48 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 17 Nov 2010 13:41:51 +0000 (13:41 +0000)
this isn't needed any more

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 17 13:41:51 UTC 2010 on sn-devel-104

source4/dsdb/repl/drepl_notify.c
source4/dsdb/repl/drepl_service.h

index 4629357711cea34645edc5e41c48a722652ab217..8f315165a0674c7e87879bef6689f8f53f92278c 100644 (file)
@@ -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));
index d69c64117815b4ded40e526c002af9a5cd3a8f35..48b084f45b14cabb1d1607b95cae84d182e8e306 100644 (file)
@@ -230,8 +230,6 @@ struct dreplsrv_service {
 
        bool rid_alloc_in_progress;
 
-       bool syncall_workaround;
-
        bool am_rodc;
 };