mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s4-repl: Try to give more information in the error codes for prepare_commit failure.
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
parent
04e3c4bea2
commit
400abe837c
@ -935,8 +935,9 @@ WERROR dsdb_replicated_objects_commit(struct ldb_context *ldb,
|
||||
} else if (cur_schema ) {
|
||||
dsdb_reference_schema(ldb, cur_schema, SCHEMA_MEMORY_ONLY);
|
||||
}
|
||||
DEBUG(0,(__location__ " Failed to prepare commit of transaction: %s\n",
|
||||
ldb_errstring(ldb)));
|
||||
DBG_ERR(" Failed to prepare commit of transaction: %s (%s)\n",
|
||||
ldb_errstring(ldb),
|
||||
ldb_strerror(ret));
|
||||
TALLOC_FREE(tmp_ctx);
|
||||
return WERR_FOOBAR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user