>From b043a703cfe6e411b327795c311f113d2c5ddb59 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Wed, 22 May 2013 19:46:49 -0700 Subject: [PATCH 2/2] dsdb: do not exit just after analysing the last replicated object while resolving the schema We want to go to the end of the while loop so that accessor are rebuild otherwise if we might not be able to replicate schema modification if some modifications are dependant from other ones. Signed-off-by: Matthieu Patou Reviewed-By: Andrew Bartlett --- source4/dsdb/repl/replicated_objects.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source4/dsdb/repl/replicated_objects.c b/source4/dsdb/repl/replicated_objects.c index 358279a..b0abc1a 100644 --- a/source4/dsdb/repl/replicated_objects.c +++ b/source4/dsdb/repl/replicated_objects.c @@ -234,11 +234,6 @@ WERROR dsdb_repl_resolve_working_schema(struct ldb_context *ldb, DEBUG(4,("Schema load pass %d: converted %d, %d of %d objects left to be converted.\n", pass_no, converted_obj_count, failed_obj_count, object_count)); - if (schema_list == NULL) { - /* we're done */ - break; - } - /* check if we converted any objects in this pass */ if (converted_obj_count == 0) { DEBUG(0,("Can't continue Schema load: " -- 1.7.9.5