summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2017-02-08 13:22:42 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-02-08 21:25:48 +0100
commitd9780d2860b2f2c9d707bfd8f2fc72099b9545d7 (patch)
tree2959c8091436d1bf6d0cf97f87488b15ea3c9ec8 /src
parent2ffa245e79a5ed66e69d141f4001c13697e01450 (diff)
downloadsssd-d9780d2860b2f2c9d707bfd8f2fc72099b9545d7.tar.gz
sssd-d9780d2860b2f2c9d707bfd8f2fc72099b9545d7.tar.xz
sssd-d9780d2860b2f2c9d707bfd8f2fc72099b9545d7.zip
cache_req: always go to dp first when looking up host
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 <lslebodn@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/responder/common/cache_req/plugins/cache_req_host_by_name.c2
1 files changed, 1 insertions, 1 deletions
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 18511e33b..77b46831f 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,