summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_load.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c
index d13b339f60..50f6888564 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_load.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_load.c
@@ -291,10 +291,8 @@ static int schema_load_init(struct ldb_module *module)
ret = dsdb_module_load_partition_usn(module, schema_dn, &current_usn, NULL);
if (ret != LDB_SUCCESS) {
- ldb_asprintf_errstring(ldb,
- "dsdb_load_partition_usn failed: %s",
- ldb_errstring(ldb));
- return ret;
+ /* Ignore the error and just reload the DB more often */
+ current_usn = 0;
}
return dsdb_schema_from_db(module, schema_dn, current_usn, &schema);