dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0050-Revert-IPA-use-forest-name-when-looking-up-the-Globa.patch

0d602d
From d33ec64423087261fcc14acb5922793fadb83342 Mon Sep 17 00:00:00 2001
0d602d
From: Sumit Bose <sbose@redhat.com>
0d602d
Date: Tue, 4 Dec 2018 13:08:11 +0100
0d602d
Subject: [PATCH 50/51] Revert "IPA: use forest name when looking up the Global
0d602d
 Catalog"
0d602d
0d602d
This reverts commit 149174acae677d1e72a0da431bf0850d55f2ccb4.
0d602d
0d602d
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
0d602d
(cherry picked from commit 9096fc01cca8fcaeb19c36a27f3a9fa09d60772a)
0d602d
---
0d602d
 src/providers/ipa/ipa_subdomains_server.c | 2 +-
0d602d
 1 file changed, 1 insertion(+), 1 deletion(-)
0d602d
0d602d
diff --git a/src/providers/ipa/ipa_subdomains_server.c b/src/providers/ipa/ipa_subdomains_server.c
0d602d
index e5ea4bd02..43a3053cb 100644
0d602d
--- a/src/providers/ipa/ipa_subdomains_server.c
0d602d
+++ b/src/providers/ipa/ipa_subdomains_server.c
0d602d
@@ -266,7 +266,7 @@ ipa_ad_ctx_new(struct be_ctx *be_ctx,
0d602d
         DEBUG(SSSDBG_TRACE_ALL, "No extra attrs set.\n");
0d602d
     }
0d602d
 
0d602d
-    gc_service_name = talloc_asprintf(ad_options, "sd_gc_%s", subdom->forest);
0d602d
+    gc_service_name = talloc_asprintf(ad_options, "sd_gc_%s", subdom->name);
0d602d
     if (gc_service_name == NULL) {
0d602d
         talloc_free(ad_options);
0d602d
         return ENOMEM;
0d602d
-- 
0d602d
2.19.1
0d602d