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

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