diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2012-05-15 06:33:13 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-06-10 15:45:42 -0400 |
commit | 84c611c1b7c04cc7735ab54d4e5f48284b79e6fb (patch) | |
tree | 003902da01986b7b5464a7f279146d8995b0f340 /src/providers/ipa/ipa_init.c | |
parent | d1b9cd8de7b10f5d54501aace8731db9abbcc0b1 (diff) | |
download | sssd2-84c611c1b7c04cc7735ab54d4e5f48284b79e6fb.tar.gz sssd2-84c611c1b7c04cc7735ab54d4e5f48284b79e6fb.tar.xz sssd2-84c611c1b7c04cc7735ab54d4e5f48284b79e6fb.zip |
IPA subdomains - ask for information about master domain
The query is performed only if there is missing information in the
cache. That means this should be done only once after restart when cache
doesn't exist. All subsequent requests for subdomains won't include the
request for master domain.
Diffstat (limited to 'src/providers/ipa/ipa_init.c')
-rw-r--r-- | src/providers/ipa/ipa_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_init.c b/src/providers/ipa/ipa_init.c index 90acb108..b58058a8 100644 --- a/src/providers/ipa/ipa_init.c +++ b/src/providers/ipa/ipa_init.c @@ -522,7 +522,7 @@ int sssm_ipa_autofs_init(struct be_ctx *bectx, int sssm_ipa_subdomains_init(struct be_ctx *bectx, struct bet_ops **ops, - void **pvt_data) + void **pvt_data) { int ret; struct ipa_subdomains_ctx *subdomains_ctx; @@ -541,7 +541,7 @@ int sssm_ipa_subdomains_init(struct be_ctx *bectx, } subdomains_ctx->sdap_id_ctx = id_ctx->sdap_id_ctx; subdomains_ctx->search_bases = id_ctx->ipa_options->subdomains_search_bases; - + subdomains_ctx->master_search_bases = id_ctx->ipa_options->master_domain_search_bases; *ops = &ipa_subdomains_ops; *pvt_data = subdomains_ctx; |