dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0170-cache_req-Do-not-use-default_domain_suffix-with-netg.patch

ecf709
From eb3f60eacc6279a6bd97eff7d7be0cc081a7bf9a Mon Sep 17 00:00:00 2001
ecf709
From: Lukas Slebodnik <lslebodn@redhat.com>
ecf709
Date: Thu, 8 Jun 2017 12:32:44 +0200
ecf709
Subject: [PATCH 170/171] cache_req: Do not use default_domain_suffix with
ecf709
 netgroups
ecf709
MIME-Version: 1.0
ecf709
Content-Type: text/plain; charset=UTF-8
ecf709
Content-Transfer-Encoding: 8bit
ecf709
ecf709
Resolves:
ecf709
https://pagure.io/SSSD/sssd/issue/3428
ecf709
ecf709
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
ecf709
(cherry picked from commit c83e265bbb5b2f2aa4f0067263753c8403c383f9)
ecf709
---
ecf709
 src/responder/common/cache_req/plugins/cache_req_netgroup_by_name.c | 2 +-
ecf709
 1 file changed, 1 insertion(+), 1 deletion(-)
ecf709
ecf709
diff --git a/src/responder/common/cache_req/plugins/cache_req_netgroup_by_name.c b/src/responder/common/cache_req/plugins/cache_req_netgroup_by_name.c
ecf709
index 4d8bb18579a286042b00528190dadd52fdd7c75c..ef0775d0b8eac4d679450f436d8427cff9c04582 100644
ecf709
--- a/src/responder/common/cache_req/plugins/cache_req_netgroup_by_name.c
ecf709
+++ b/src/responder/common/cache_req/plugins/cache_req_netgroup_by_name.c
ecf709
@@ -112,7 +112,7 @@ const struct cache_req_plugin cache_req_netgroup_by_name = {
ecf709
     .name = "Netgroup by name",
ecf709
     .attr_expiration = SYSDB_CACHE_EXPIRE,
ecf709
     .parse_name = true,
ecf709
-    .ignore_default_domain = false,
ecf709
+    .ignore_default_domain = true,
ecf709
     .bypass_cache = false,
ecf709
     .only_one_result = true,
ecf709
     .search_all_domains = false,
ecf709
-- 
ecf709
2.9.4
ecf709