From d9780d2860b2f2c9d707bfd8f2fc72099b9545d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ezina?= Date: Wed, 8 Feb 2017 13:22:42 +0100 Subject: [PATCH 34/79] cache_req: always go to dp first when looking up host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We need to always lookup host in DP first to update host certificates so we are consinstent during ssh authentication. Reviewed-by: Lukáš Slebodník --- src/responder/common/cache_req/plugins/cache_req_host_by_name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/responder/common/cache_req/plugins/cache_req_host_by_name.c b/src/responder/common/cache_req/plugins/cache_req_host_by_name.c index 18511e33bc18e44f418a26764f066ff287092d26..77b46831fec3abc4126ef9d9be67221469801094 100644 --- a/src/responder/common/cache_req/plugins/cache_req_host_by_name.c +++ b/src/responder/common/cache_req/plugins/cache_req_host_by_name.c @@ -77,7 +77,7 @@ const struct cache_req_plugin cache_req_host_by_name = { .attr_expiration = SYSDB_CACHE_EXPIRE, .parse_name = true, .ignore_default_domain = true, - .bypass_cache = false, + .bypass_cache = true, .only_one_result = true, .search_all_domains = false, .require_enumeration = false, -- 2.9.3