From: Joseph Sutton Date: Fri, 6 Oct 2023 02:43:13 +0000 (+1300) Subject: s4:dsdb: Log correct ldb error X-Git-Tag: tevent-0.16.0~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b60604b1379af4c60bd516cbc371651a40f88c91;p=thirdparty%2Fsamba.git s4:dsdb: Log correct ldb error Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c index 94ff730b4b5..ca8fac09372 100644 --- a/source4/dsdb/samdb/ldb_modules/partition.c +++ b/source4/dsdb/samdb/ldb_modules/partition.c @@ -1607,7 +1607,7 @@ int partition_read_unlock(struct ldb_module *module) LDB_DEBUG_FATAL, "Failed to lock db: %s / %s for %s", ldb_errstring(ldb), - ldb_strerror(ret), + ldb_strerror(ret2), ldb_dn_get_linearized(p->ctrl->dn)); /*