Ensure we fail to proceed if the schema won't load.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 18 Aug 2008 05:12:08 +0000 (15:12 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 18 Aug 2008 05:12:08 +0000 (15:12 +1000)
source/dsdb/samdb/ldb_modules/schema_fsmo.c

index 706b7b18b742aa318538561e820b06654296beca..968b19c038d5254054b5d32cf202836fc6dadc0a 100644 (file)
@@ -125,6 +125,7 @@ static int schema_fsmo_init(struct ldb_module *module)
                                       "schema_fsmo_init: dsdb_schema load failed: %s",
                                       error_string);
                talloc_free(mem_ctx);
+               return ret;
        }
 
        /* dsdb_set_schema() steal schema into the ldb_context */