summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-21 21:19:55 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:53 +1100
commit2e114484e5abd658b9a8ae1ecb1af6768bd8fc46 (patch)
tree0ea90116bddb5417eb85310b11e74a103a153ae3
parent0d5d7f58473c989bff4d7f7d65da31f9b037de3a (diff)
downloadsamba-2e114484e5abd658b9a8ae1ecb1af6768bd8fc46.tar.gz
samba-2e114484e5abd658b9a8ae1ecb1af6768bd8fc46.tar.bz2
samba-2e114484e5abd658b9a8ae1ecb1af6768bd8fc46.zip
s4-drs: give an error message in repl_meta_data if we don't get a partition control
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 6e0c9b44e5..6804c1c764 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -318,6 +318,7 @@ static int replmd_op_callback(struct ldb_request *req, struct ldb_reply *ares)
}
if (!partition_ctrl) {
+ ldb_set_errstring(ldb_module_get_ctx(ac->module),"No partition control on reply");
return ldb_module_done(ac->req, NULL,
NULL, LDB_ERR_OPERATIONS_ERROR);
}