The KCC might have changed repsFrom, which is stored in the partitions
structure
#include "librpc/gen_ndr/ndr_drsblobs.h"
#include "param/param.h"
-static WERROR dreplsrv_refresh_partitions(struct dreplsrv_service *s);
-
WERROR dreplsrv_load_partitions(struct dreplsrv_service *s)
{
WERROR status;
return WERR_OK;
}
-static WERROR dreplsrv_refresh_partitions(struct dreplsrv_service *s)
+WERROR dreplsrv_refresh_partitions(struct dreplsrv_service *s)
{
WERROR status;
struct dreplsrv_partition *p;
DEBUG(2,("dreplsrv_periodic_run(): run pending_ops\n"));
+ /* the KCC might have changed repsFrom */
+ dreplsrv_refresh_partitions(service);
+
dreplsrv_run_pending_ops(service);
}