summaryrefslogtreecommitdiffstats
path: root/src/sbus
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-20 15:22:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-20 15:22:36 +0000
commit80959e30ce7c57b5865f5358c42a7bcffe450d4d (patch)
treeb740c16852fea65d00f8acfc751765ae7aafbbb4 /src/sbus
parentReleasing progress-linux version 2.9.4-2~progress7.99u2. (diff)
downloadsssd-80959e30ce7c57b5865f5358c42a7bcffe450d4d.tar.xz
sssd-80959e30ce7c57b5865f5358c42a7bcffe450d4d.zip
Merging upstream version 2.9.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/sbus')
-rw-r--r--src/sbus/codegen/templates/client_async.c.tpl2
-rw-r--r--src/sbus/router/sbus_router_handler.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/sbus/codegen/templates/client_async.c.tpl b/src/sbus/codegen/templates/client_async.c.tpl
index e16ce42..ae15484 100644
--- a/src/sbus/codegen/templates/client_async.c.tpl
+++ b/src/sbus/codegen/templates/client_async.c.tpl
@@ -405,7 +405,7 @@
TEVENT_REQ_RETURN_ON_ERROR(req);
- *_value = <toggle line name="if-use-talloc">talloc_steal(mem_ctx, state->out->arg0);<or>state->out->arg0</toggle>;
+ *_value = <toggle line name="if-use-talloc">talloc_steal(mem_ctx, state->out->arg0)<or>state->out->arg0</toggle>;
return EOK;
}
diff --git a/src/sbus/router/sbus_router_handler.c b/src/sbus/router/sbus_router_handler.c
index 7b6c244..db8fbbf 100644
--- a/src/sbus/router/sbus_router_handler.c
+++ b/src/sbus/router/sbus_router_handler.c
@@ -150,6 +150,9 @@ static void sbus_issue_request_done(struct tevent_req *subreq)
} else {
int msg_level = SSSDBG_OP_FAILURE;
if (ret == ERR_MISSING_DP_TARGET) msg_level = SSSDBG_FUNC_DATA;
+ if (ret == EACCES) msg_level = SSSDBG_MINOR_FAILURE; /* IFP ACL */
+ /* ERR_DOMAIN_NOT_FOUND: 'ad_enabled_domains' option can exclude domain */
+ if (ret == ERR_DOMAIN_NOT_FOUND) msg_level = SSSDBG_CONF_SETTINGS;
DEBUG(msg_level, "%s.%s: Error [%d]: %s\n",
meta.interface, meta.member, ret, sss_strerror(ret));
}