diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-03-10 16:35:03 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-03-11 10:04:30 +0100 |
commit | 04d138472cc086fb7961f0d378852b09961b1a33 (patch) | |
tree | b5e28ddd3ccfd36b77a9f3bed6aa525dbb073f42 /src/db/sysdb_idmap.c | |
parent | 429d51ec39193dd1681cef2c8eafd74595142a48 (diff) | |
download | sssd-04d138472cc086fb7961f0d378852b09961b1a33.tar.gz sssd-04d138472cc086fb7961f0d378852b09961b1a33.tar.xz sssd-04d138472cc086fb7961f0d378852b09961b1a33.zip |
Log reason in debug message why ldb_modify failed
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/db/sysdb_idmap.c')
-rw-r--r-- | src/db/sysdb_idmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/sysdb_idmap.c b/src/db/sysdb_idmap.c index 2c3634d1c..2aa00ef83 100644 --- a/src/db/sysdb_idmap.c +++ b/src/db/sysdb_idmap.c @@ -247,8 +247,8 @@ sysdb_idmap_store_mapping(struct sss_domain_info *domain, lret = ldb_modify(domain->sysdb->ldb, update_msg); if (lret != LDB_SUCCESS) { DEBUG(SSSDBG_MINOR_FAILURE, - "Failed to update mapping: [%s]\n", - ldb_strerror(lret)); + "Failed to update mapping: [%s](%d)[%s]\n", + ldb_strerror(lret), lret, ldb_errstring(domain->sysdb->ldb)); ret = sysdb_error_to_errno(lret); goto done; } |