1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Get more information from ldb when reporting a failed replication.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2008-01-23 15:44:02 +11:00
parent 7b87a58502
commit 948ee9b7ac

View File

@ -400,8 +400,8 @@ WERROR dsdb_extended_replicated_objects_commit(struct ldb_context *ldb,
ret = ldb_extended(ldb, DSDB_EXTENDED_REPLICATED_OBJECTS_OID, out, &ext_res);
if (ret != LDB_SUCCESS) {
DEBUG(0,("Failed to apply records: %d: %s\n",
ret, ldb_strerror(ret)));
DEBUG(0,("Failed to apply records: %s: %s\n",
ldb_errstring(ldb), ldb_strerror(ret)));
talloc_free(out);
return WERR_FOOBAR;
}