Displaying 1 result from an estimated 1 matches for "used_global_schema".
2017 Jun 13
2
skip chunk if "DRS linked attribute for GUID - DN not found"
...@ -922,6 +922,18 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb,
}
ret = ldb_transaction_prepare_commit(ldb);
+ if (ret == LDB_ERR_NO_SUCH_OBJECT) {
+ /* restore previous schema */
+ if (used_global_schema) {
+ dsdb_set_global_schema(ldb);
+ } else if (cur_schema ) {
+ dsdb_reference_schema(ldb, cur_schema, false);
+ }
+ DEBUG(0,(_...