summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-11-08 10:11:15 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-08 12:46:40 +0100
commitab1b2addcf0d72898ba96a5a956ea4c59c74b66e (patch)
tree9c6103e39afe998c966015880dea2b2ffb577afc /src/providers/ipa
parente2971bf98a669dfdb86edfdf19b07f300ec30dfb (diff)
downloadsssd-ab1b2addcf0d72898ba96a5a956ea4c59c74b66e.tar.gz
sssd-ab1b2addcf0d72898ba96a5a956ea4c59c74b66e.tar.xz
sssd-ab1b2addcf0d72898ba96a5a956ea4c59c74b66e.zip
Clarify debug message about initgroups and subdomains
The initgroups request is not handled by the IPA provider for subdomain users on purpose because the group membership information is not available on the IPA server but will be directly written to the cache when the PAC of the user is processed. The old generic debug message "Invalid sub-domain request type" might be misleading. This patch adds a specific message for the initgroups case "Initgroups requests are not handled by the IPA provider but are resolved by the responder directly from the cache." and increase the debug level so that typically this message is not shown anymore because it is expected behaviour. Fixes https://fedorahosted.org/sssd/ticket/1610
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_subdomains_id.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c
index 5a4ab40b2..563fdf2f6 100644
--- a/src/providers/ipa/ipa_subdomains_id.c
+++ b/src/providers/ipa/ipa_subdomains_id.c
@@ -99,6 +99,13 @@ struct tevent_req *ipa_get_subdomain_account_info_send(TALLOC_CTX *memctx,
SDAP_OPTS_GROUP, NULL,
&state->attrs, NULL);
break;
+ case BE_REQ_INITGROUPS:
+ ret = ENOTSUP;
+ DEBUG(SSSDBG_TRACE_FUNC, ("Initgroups requests are not handled " \
+ "by the IPA provider but are resolved " \
+ "by the responder directly from the " \
+ "cache.\n"));
+ break;
default:
ret = EINVAL;
DEBUG(SSSDBG_OP_FAILURE, ("Invalid sub-domain request type.\n"));