summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sysdb_upgrade.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/db/sysdb_upgrade.c b/src/db/sysdb_upgrade.c
index 6f7ac393..3c23babe 100644
--- a/src/db/sysdb_upgrade.c
+++ b/src/db/sysdb_upgrade.c
@@ -1387,7 +1387,8 @@ int sysdb_upgrade_13(struct sysdb_ctx *sysdb, const char **ver)
ret = ldb_delete(sysdb->ldb, res->msgs[j]->dn);
if (ret) {
DEBUG(SSSDBG_OP_FAILURE,
- ("Failed to delete %s\n", res->msgs[j]->dn));
+ ("Failed to delete %s\n",
+ ldb_dn_get_linearized(res->msgs[j]->dn)));
continue;
}
}
@@ -1478,7 +1479,8 @@ int sysdb_upgrade_14(struct sysdb_ctx *sysdb, const char **ver)
ret = ldb_delete(sysdb->ldb, res->msgs[i]->dn);
if (ret) {
DEBUG(SSSDBG_OP_FAILURE,
- ("Failed to delete %s\n", res->msgs[i]->dn));
+ ("Failed to delete %s\n",
+ ldb_dn_get_linearized(res->msgs[i]->dn)));
ret = EIO;
goto done;
}
@@ -1502,7 +1504,8 @@ int sysdb_upgrade_14(struct sysdb_ctx *sysdb, const char **ver)
ret = ldb_delete(sysdb->ldb, res->msgs[i]->dn);
if (ret) {
DEBUG(SSSDBG_OP_FAILURE,
- ("Failed to delete %s\n", res->msgs[i]->dn));
+ ("Failed to delete %s\n",
+ ldb_dn_get_linearized(res->msgs[i]->dn)));
ret = EIO;
goto done;
}