1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

rpmd: Add the ldb error string to a debug

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Garming Sam 2016-09-08 14:46:38 +12:00 committed by Garming Sam
parent c0239a9bf6
commit b7f363c64f

View File

@ -3621,9 +3621,10 @@ static int replmd_delete_internals(struct ldb_module *module, struct ldb_request
ldb_asprintf_errstring(ldb,
__location__
": Failed to remove backlink of "
"%s when deleting %s",
"%s when deleting %s: %s",
el->name,
old_dn_str);
old_dn_str,
ldb_errstring(ldb));
talloc_free(tmp_ctx);
return LDB_ERR_OPERATIONS_ERROR;
}