Skip to content

Commit

Permalink
DP: reduce log level in case a responder asks for unknown domain
Browse files Browse the repository at this point in the history
Since 9358a74 a domain might be
skipped by 'ad_enabled_domains' option

Reviewed-by: Sumit Bose <[email protected]>
  • Loading branch information
alexey-tikhonov committed Dec 8, 2023
1 parent 271bb6c commit 39cd0ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/data_provider/dp_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ dp_req_new(TALLOC_CTX *mem_ctx,
if (domainname != NULL) {
dp_req->domain = find_domain_by_name(be_ctx->domain, domainname, true);
if (dp_req->domain == NULL) {
DEBUG(SSSDBG_CRIT_FAILURE, "Unknown domain: %s\n", domainname);
/* domain might be skipped by 'ad_enabled_domains' option */
DEBUG(SSSDBG_CONF_SETTINGS, "Unknown domain: %s\n", domainname);
return ERR_DOMAIN_NOT_FOUND;
}
}
Expand Down

0 comments on commit 39cd0ba

Please sign in to comment.