Blame SOURCES/0072-AD-SRV-use-right-domain-name-for-CLDAP-ping.patch

2fc102
From 9118f124fad5fe15c5beb910db08794d9b3d2685 Mon Sep 17 00:00:00 2001
2fc102
From: Sumit Bose <sbose@redhat.com>
2fc102
Date: Fri, 24 Jan 2014 16:52:22 +0100
2fc102
Subject: [PATCH 72/73] AD SRV: use right domain name for CLDAP ping
2fc102
2fc102
Currently always the name of the configured domain was passed to the
2fc102
CLDAP request. This will fail if the CLDAP request is send to a DC form
2fc102
a different domain.
2fc102
---
2fc102
 src/providers/ad/ad_srv.c | 2 +-
2fc102
 1 file changed, 1 insertion(+), 1 deletion(-)
2fc102
2fc102
diff --git a/src/providers/ad/ad_srv.c b/src/providers/ad/ad_srv.c
2fc102
index a238c192e495c3ff6330123d8e53d7d480e88e1b..99502e431e7b8b053e6ec58780abfd10859937be 100644
2fc102
--- a/src/providers/ad/ad_srv.c
2fc102
+++ b/src/providers/ad/ad_srv.c
2fc102
@@ -723,7 +723,7 @@ static void ad_srv_plugin_dcs_done(struct tevent_req *subreq)
2fc102
                                      state->ctx->be_res,
2fc102
                                      state->ctx->host_dbs,
2fc102
                                      state->ctx->opts,
2fc102
-                                     state->ctx->ad_domain,
2fc102
+                                     state->discovery_domain,
2fc102
                                      dcs, num_dcs);
2fc102
     if (subreq == NULL) {
2fc102
         ret = ENOMEM;
2fc102
-- 
2fc102
1.8.4.2
2fc102