s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request'
[ira/wip.git] / source4 / dsdb / repl / drepl_periodic.c
index 2cfcb310dcffcdabc325275026d47a630dd0612c..d2fbe45586b8f2b4d184b4e4f4d4c65e99e4e570 100644 (file)
@@ -46,7 +46,7 @@ static void dreplsrv_periodic_handler_te(struct tevent_context *ev, struct teven
 
        status = dreplsrv_periodic_schedule(service, service->periodic.interval);
        if (!W_ERROR_IS_OK(status)) {
-               task_server_terminate(service->task, win_errstr(status));
+               task_server_terminate(service->task, win_errstr(status), false);
                return;
        }
 }
@@ -109,5 +109,8 @@ static void dreplsrv_periodic_run(struct dreplsrv_service *service)
        /* the KCC might have changed repsFrom */
        dreplsrv_refresh_partitions(service);
 
+       dreplsrv_ridalloc_check_rid_pool(service);
+
        dreplsrv_run_pending_ops(service);
+       dreplsrv_notify_run_ops(service);
 }