summaryrefslogtreecommitdiff
path: root/src/providers/ipa/ipa_subdomains.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-09 16:23:25 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:33 +0100
commitdf0596ec12bc5091608371e2977f3111241e8caf (patch)
treee659ecee1bb913e4648a4313ffab1d0c1794da19 /src/providers/ipa/ipa_subdomains.c
parent7a468783159880f81f7cd9270ee94bf0954d6a56 (diff)
downloadsssd-df0596ec12bc5091608371e2977f3111241e8caf.tar.gz
sssd-df0596ec12bc5091608371e2977f3111241e8caf.tar.bz2
sssd-df0596ec12bc5091608371e2977f3111241e8caf.zip
Remove sysdb as a be context structure member
The sysdb context is already available through the 'domain' structure.
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.c')
-rw-r--r--src/providers/ipa/ipa_subdomains.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c
index 3a91c580..7c3ad494 100644
--- a/src/providers/ipa/ipa_subdomains.c
+++ b/src/providers/ipa/ipa_subdomains.c
@@ -697,7 +697,7 @@ static void ipa_subdomains_handler_done(struct tevent_req *req)
sysdb = be_req->sysdb;
domain = be_req->domain;
} else {
- sysdb = ctx->sd_ctx->be_ctx->sysdb;
+ sysdb = ctx->sd_ctx->be_ctx->domain->sysdb;
domain = ctx->sd_ctx->be_ctx->domain;
}
@@ -790,7 +790,7 @@ static void ipa_subdomains_handler_ranges_done(struct tevent_req *req)
sysdb = be_req->sysdb;
domain = be_req->domain;
} else {
- sysdb = ctx->sd_ctx->be_ctx->sysdb;
+ sysdb = ctx->sd_ctx->be_ctx->domain->sysdb;
domain = ctx->sd_ctx->be_ctx->domain;
}
@@ -893,7 +893,7 @@ static void ipa_subdomains_handler_master_done(struct tevent_req *req)
goto done;
}
- ret = sysdb_master_domain_add_info(ctx->sd_ctx->be_ctx->sysdb,
+ ret = sysdb_master_domain_add_info(ctx->sd_ctx->be_ctx->domain->sysdb,
ctx->sd_ctx->be_ctx->domain,
domain_info);
goto done;