eabdullin
d0b0fe0ac8
- DP: reduce log level in case a responder asks for unknown domain - ipa: Add `BUILD_PASSKEY` conditional for passkey codepath - LDAP: make groups_by_user_send/recv public - Makefile: Respect `BUILD_PASSKEY` conditional - pam: Conditionalize passkey code - sdap: add set_non_posix parameter - SSS_CLIENT: check if mem-cache fd was hijacked - SSS_CLIENT: check if reponder socket was hijacked - SSS_CLIENT: MC: in case mem-cache file validation fails - sysdb: remove sysdb_computer.[ch]
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From 39cd0baa06742b349ed763aa40ea4de366e80f1a Mon Sep 17 00:00:00 2001
|
|
From: Alexey Tikhonov <atikhono@redhat.com>
|
|
Date: Thu, 7 Dec 2023 09:47:25 +0100
|
|
Subject: [PATCH] DP: reduce log level in case a responder asks for unknown
|
|
domain
|
|
|
|
Since 9358a74d3a56c738890353aaf6bc956bfe72df99 a domain might be
|
|
skipped by 'ad_enabled_domains' option
|
|
|
|
Reviewed-by: Sumit Bose <sbose@redhat.com>
|
|
---
|
|
src/providers/data_provider/dp_request.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/providers/data_provider/dp_request.c b/src/providers/data_provider/dp_request.c
|
|
index df2db26662..9c0fcf1f52 100644
|
|
--- a/src/providers/data_provider/dp_request.c
|
|
+++ b/src/providers/data_provider/dp_request.c
|
|
@@ -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;
|
|
}
|
|
}
|