summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2011-01-21 02:39:23 +0200
committerKamen Mazdrashki <kamenim@samba.org>2011-01-22 12:35:22 +0200
commit0ce93ad2bc91fd7cbe2f71d00a323a827b9457b1 (patch)
treedc98c62e2a65697568c90288fae4a1a2112f16f4 /source4/dsdb/samdb/ldb_modules
parent0aa118f22bb2e810e5c530c743c48dcb7bde92cc (diff)
downloadsamba-0ce93ad2bc91fd7cbe2f71d00a323a827b9457b1.tar.gz
samba-0ce93ad2bc91fd7cbe2f71d00a323a827b9457b1.tar.bz2
samba-0ce93ad2bc91fd7cbe2f71d00a323a827b9457b1.zip
s4-repl_meta_data: Print out what is wrong when we fail to modify object
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-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 d254694bbf..bdd87ee494 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -372,6 +372,7 @@ static int replmd_op_callback(struct ldb_request *req, struct ldb_reply *ares)
controls = ldb_controls_except_specified(ares->controls, ares, partition_ctrl);
if (ares->error != LDB_SUCCESS) {
+ DEBUG(0,("%s failure. Error is: %s\n", __FUNCTION__, ldb_strerror(ares->error)));
return ldb_module_done(ac->req, controls,
ares->response, ares->error);
}