diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-07-20 14:13:19 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-07-20 20:32:09 +0200 |
commit | ff0b0caaaceb3060b8024bc76f51cca5681bd995 (patch) | |
tree | dc3ea8d68eabf8054c1571a8bad6889808f9484b /src | |
parent | 21b3c8aff20d1987add2a93561653a3d6a9685d4 (diff) | |
download | sssd-ff0b0caaaceb3060b8024bc76f51cca5681bd995.tar.gz sssd-ff0b0caaaceb3060b8024bc76f51cca5681bd995.tar.xz sssd-ff0b0caaaceb3060b8024bc76f51cca5681bd995.zip |
SYSDB: Add log message for unexpected LDB errors
Diffstat (limited to 'src')
-rw-r--r-- | src/db/sysdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index 7f7310a2c..3ef8444cd 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -737,6 +737,9 @@ int sysdb_error_to_errno(int ldberr) case LDB_ERR_ENTRY_ALREADY_EXISTS: return EEXIST; default: + DEBUG(SSSDBG_CRIT_FAILURE, + ("LDB returned unexpected error: [%s]\n", + ldb_strerror(ldberr))); return EFAULT; } } |