diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-14 12:22:22 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-02-10 22:08:46 +0100 |
commit | 65393a294e635822c1d7a15fe5853dc457ad8a2a (patch) | |
tree | bbd8f0e8be26d1839febe79650421a2daccc68e4 /src/providers/ipa | |
parent | aab938c5975f0e3b85c7c79a5d718e5fefed7217 (diff) | |
download | sssd-65393a294e635822c1d7a15fe5853dc457ad8a2a.tar.gz sssd-65393a294e635822c1d7a15fe5853dc457ad8a2a.tar.bz2 sssd-65393a294e635822c1d7a15fe5853dc457ad8a2a.zip |
Update main domain info in place
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_subdomains.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c index 114bd26e..385be1c3 100644 --- a/src/providers/ipa/ipa_subdomains.c +++ b/src/providers/ipa/ipa_subdomains.c @@ -756,7 +756,6 @@ static void ipa_subdomains_handler_ranges_done(struct tevent_req *req) size_t reply_count; struct sysdb_attrs **reply = NULL; struct ipa_subdomains_req_ctx *ctx; - struct sysdb_subdom *domain_info; struct range_info **range_list = NULL; struct sysdb_ctx *sysdb; struct sss_domain_info *domain; @@ -787,14 +786,14 @@ static void ipa_subdomains_handler_ranges_done(struct tevent_req *req) } - ret = sysdb_master_domain_get_info(ctx, sysdb, domain, &domain_info); + ret = sysdb_master_domain_update(domain); if (ret != EOK) { goto done; } - if (domain_info->flat_name == NULL || - domain_info->id == NULL || - domain_info->name == NULL) { + if (domain->flat_name == NULL || + domain->domain_id == NULL || + domain->realm == NULL) { ctx->search_base_iter = 0; ctx->search_bases = ctx->sd_ctx->master_search_bases; |