summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-01-24 16:52:22 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-01-29 17:30:19 +0100
commit9118f124fad5fe15c5beb910db08794d9b3d2685 (patch)
treec2a796b5f231e82efba83907c405b3d81551cd4f /src
parent8c714cbf1d0ce2cbddc4222ade51e1f93f36dbe8 (diff)
downloadsssd-9118f124fad5fe15c5beb910db08794d9b3d2685.tar.gz
sssd-9118f124fad5fe15c5beb910db08794d9b3d2685.tar.xz
sssd-9118f124fad5fe15c5beb910db08794d9b3d2685.zip
AD SRV: use right domain name for CLDAP ping
Currently always the name of the configured domain was passed to the CLDAP request. This will fail if the CLDAP request is send to a DC form a different domain.
Diffstat (limited to 'src')
-rw-r--r--src/providers/ad/ad_srv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ad/ad_srv.c b/src/providers/ad/ad_srv.c
index a238c192e..99502e431 100644
--- a/src/providers/ad/ad_srv.c
+++ b/src/providers/ad/ad_srv.c
@@ -723,7 +723,7 @@ static void ad_srv_plugin_dcs_done(struct tevent_req *subreq)
state->ctx->be_res,
state->ctx->host_dbs,
state->ctx->opts,
- state->ctx->ad_domain,
+ state->discovery_domain,
dcs, num_dcs);
if (subreq == NULL) {
ret = ENOMEM;