s4-ldb: fixed request handling for schemaUpdateNow op
[ira/wip.git] / source4 / dsdb / samdb / ldb_modules / schema_load.c
index 62c941d5ebe86fedea800256ebb98f97d6732e0b..b695700123fa297b4d26df7ba71dbc1f71882dad 100644 (file)
@@ -247,7 +247,7 @@ static int schema_load_extended(struct ldb_module *module, struct ldb_request *r
        dsdb_make_schema_global(ldb);
 
        talloc_free(mem_ctx);
        dsdb_make_schema_global(ldb);
 
        talloc_free(mem_ctx);
-       return LDB_SUCCESS;
+       return ldb_module_done(req, NULL, NULL, LDB_SUCCESS);
 }
 
 
 }