summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-26 08:38:03 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-26 08:38:03 +1100
commita4f86c07e5e98718e5fcde90c70b05a77c41a522 (patch)
treefd0ecfba99256189f38f67244d93832a17f66638
parent98a3725252aabeece2b31f87e1c6cfc543fc716d (diff)
downloadsamba-a4f86c07e5e98718e5fcde90c70b05a77c41a522.tar.gz
samba-a4f86c07e5e98718e5fcde90c70b05a77c41a522.tar.bz2
samba-a4f86c07e5e98718e5fcde90c70b05a77c41a522.zip
s4-ldb: fixed request handling for schemaUpdateNow op
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c2
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_load.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c
index 64015ed7b1..587d9206c5 100644
--- a/source4/dsdb/samdb/ldb_modules/partition.c
+++ b/source4/dsdb/samdb/ldb_modules/partition.c
@@ -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);
}
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index 83e4e3b50e..5af951aff5 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -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 = {
diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c
index 62c941d5eb..b695700123 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_load.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_load.c
@@ -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);
}