s4-ldb: fixed request handling for schemaUpdateNow op
authorAndrew Tridgell <tridge@samba.org>
Sun, 25 Oct 2009 21:38:03 +0000 (08:38 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sun, 25 Oct 2009 21:38:03 +0000 (08:38 +1100)
source4/dsdb/samdb/ldb_modules/partition.c
source4/dsdb/samdb/ldb_modules/rootdse.c
source4/dsdb/samdb/ldb_modules/schema_load.c

index 64015ed7b16e0f7d22981557d3fa4f233a91c50f..587d9206c568f8598320b573fbb02e3306f8eb2b 100644 (file)
@@ -1114,7 +1114,7 @@ static int partition_extended_schema_update_now(struct ldb_module *module, struc
                return ret;
        }
 
-       return ldb_request_done(req, ret);
+       return ldb_module_done(req, NULL, NULL, ret);
 }
 
 
index 83e4e3b50edff38ec6a76c0d249c5b9f2f94ca8f..5af951aff5f878654255ff63b77288f3203bfee3 100644 (file)
@@ -718,7 +718,7 @@ static int rootdse_modify(struct ldb_module *module, struct ldb_request *req)
        }
        
        talloc_free(ext_res);
-       return ldb_request_done(req, ret);
+       return ldb_module_done(req, NULL, NULL, ret);
 }
 
 _PUBLIC_ const struct ldb_module_ops ldb_rootdse_module_ops = {
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);
-       return LDB_SUCCESS;
+       return ldb_module_done(req, NULL, NULL, LDB_SUCCESS);
 }