From 566a894648aa6c7946d05055f54efcc8ff2995b2 Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov Date: Mon, 29 Jul 2024 18:27:52 +0200 Subject: [PATCH] DEBUG --- src/confdb/confdb.c | 4 ++-- src/tools/sss_cache.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/confdb/confdb.c b/src/confdb/confdb.c index a7344e1668f..8c6aed9feef 100644 --- a/src/confdb/confdb.c +++ b/src/confdb/confdb.c @@ -696,8 +696,8 @@ int confdb_init(TALLOC_CTX *mem_ctx, sss_restore_sssd_user_eid(); umask(old_umask); if (ret != LDB_SUCCESS) { - DEBUG(SSSDBG_FATAL_FAILURE, "Unable to open config database [%s]\n", - confdb_location); + DEBUG(SSSDBG_FATAL_FAILURE, "Unable to open config database [%s] - %d\n", + confdb_location, ret); talloc_free(cdb); return EIO; } diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c index 79de13ac872..91373eda673 100644 --- a/src/tools/sss_cache.c +++ b/src/tools/sss_cache.c @@ -919,7 +919,7 @@ static errno_t init_context(int argc, const char *argv[], "--domain/-d parameter.\n", values.domain); ret = ERR_DOMAIN_NOT_FOUND; } else { - ERROR("Could not open available domains\n"); + ERROR("Could not open available domains: %d\n", ret); } DEBUG(SSSDBG_OP_FAILURE, "Initialization of sysdb connections failed\n");