summaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-13 16:11:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-19 10:22:01 +0200
commit6b093561a0a7e2f1e434cb4caa4e772cbe49468e (patch)
tree8123935a628721e3214ccef3df38d4ccea0ac903 /src/db
parent0b2e2888b1b68742e91a64bbec8540c7bfa3f179 (diff)
downloadsssd-6b093561a0a7e2f1e434cb4caa4e772cbe49468e.tar.gz
sssd-6b093561a0a7e2f1e434cb4caa4e772cbe49468e.tar.xz
sssd-6b093561a0a7e2f1e434cb4caa4e772cbe49468e.zip
Use functionm ldb_dn_get_linearized to format struct ldb_dn
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 6f7ac393c..3c23babe3 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;
}