summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/responder/ifp/ifpsrv.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/responder/ifp/ifpsrv.c b/src/responder/ifp/ifpsrv.c
index b221ced70..35bcc910e 100644
--- a/src/responder/ifp/ifpsrv.c
+++ b/src/responder/ifp/ifpsrv.c
@@ -132,7 +132,8 @@ sysbus_init(TALLOC_CTX *mem_ctx,
conn = dbus_bus_get(DBUS_BUS_SYSTEM, &dbus_error);
if (conn == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE,
- ("Failed to connect to D-BUS system bus.\n"));
+ "Failed to connect to D-BUS system bus: [%s]\n",
+ dbus_error.message);
ret = EIO;
goto fail;
}
@@ -145,7 +146,8 @@ sysbus_init(TALLOC_CTX *mem_ctx,
if (ret != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) {
/* We were unable to register on the system bus */
DEBUG(SSSDBG_CRIT_FAILURE,
- ("Unable to request name on the system bus.\n"));
+ "Unable to request name on the system bus: [%s]\n",
+ dbus_error.message);
ret = EIO;
goto fail;
}
@@ -246,7 +248,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx,
CONFDB_IFP_CONF_ENTRY, CONFDB_SERVICE_ALLOWED_UIDS,
DEFAULT_ALLOWED_UIDS, &uid_str);
if (ret != EOK) {
- DEBUG(SSSDBG_FATAL_FAILURE, ("Failed to get allowed UIDs.\n"));
+ DEBUG(SSSDBG_FATAL_FAILURE, "Failed to get allowed UIDs.\n");
goto fail;
}
@@ -255,7 +257,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx,
&ifp_ctx->rctx->allowed_uids);
talloc_free(uid_str);
if (ret != EOK) {
- DEBUG(SSSDBG_FATAL_FAILURE, ("Failed to set allowed UIDs.\n"));
+ DEBUG(SSSDBG_FATAL_FAILURE, "Failed to set allowed UIDs.\n");
goto fail;
}
@@ -269,7 +271,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx,
ret = sss_ncache_init(rctx, &ifp_ctx->ncache);
if (ret != EOK) {
- DEBUG(SSSDBG_CRIT_FAILURE, ("fatal error initializing negcache\n"));
+ DEBUG(SSSDBG_CRIT_FAILURE, "fatal error initializing negcache\n");
goto fail;
}
@@ -277,7 +279,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx,
CONFDB_IFP_CONF_ENTRY, CONFDB_IFP_USER_ATTR_LIST,
NULL, &attr_list_str);
if (ret != EOK) {
- DEBUG(SSSDBG_FATAL_FAILURE, ("Failed to get allowed UIDs.\n"));
+ DEBUG(SSSDBG_FATAL_FAILURE, "Failed to get allowed UIDs.\n");
goto fail;
}
@@ -285,7 +287,7 @@ int ifp_process_init(TALLOC_CTX *mem_ctx,
talloc_free(attr_list_str);
if (ifp_ctx->user_whitelist == NULL) {
DEBUG(SSSDBG_FATAL_FAILURE,
- ("Failed to parse the allowed attribute list\n"));
+ "Failed to parse the allowed attribute list\n");
goto fail;
}