summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_netgroups.c
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2012-02-07 07:01:20 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-24 14:58:26 -0500
commitfdab7bbf8933351f6254438c30ff361cd748b15a (patch)
treef782a369096adae55d1d7776219414c4a4d309e5 /src/providers/ipa/ipa_netgroups.c
parent2f3ee3f49019f5b60adbe073070f31e6e2d7c7ab (diff)
downloadsssd-fdab7bbf8933351f6254438c30ff361cd748b15a.tar.gz
sssd-fdab7bbf8933351f6254438c30ff361cd748b15a.tar.xz
sssd-fdab7bbf8933351f6254438c30ff361cd748b15a.zip
IPA hosts refactoring
Diffstat (limited to 'src/providers/ipa/ipa_netgroups.c')
-rw-r--r--src/providers/ipa/ipa_netgroups.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ipa/ipa_netgroups.c b/src/providers/ipa/ipa_netgroups.c
index 5acab31f8..05c7e2301 100644
--- a/src/providers/ipa/ipa_netgroups.c
+++ b/src/providers/ipa/ipa_netgroups.c
@@ -523,11 +523,11 @@ static int ipa_netgr_fetch_hosts(struct ipa_get_netgroups_state *state,
filter = talloc_asprintf(state, "(&%s%s(objectclass=%s))",
state->filter,
base_filter?base_filter:"",
- state->opts->host_map[IPA_OC_HOST].name);
+ state->ipa_opts->host_map[IPA_OC_HOST].name);
if (filter == NULL)
return ENOMEM;
- ret = build_attrs_from_map(state, state->opts->host_map,
+ ret = build_attrs_from_map(state, state->ipa_opts->host_map,
IPA_OPTS_HOST, &attrs);
if (ret != EOK) {
talloc_free(filter);
@@ -537,7 +537,7 @@ static int ipa_netgr_fetch_hosts(struct ipa_get_netgroups_state *state,
subreq = sdap_get_generic_send(state, state->ev, state->opts, state->sh,
bases[state->host_base_iter]->basedn,
bases[state->host_base_iter]->scope,
- filter, attrs, state->opts->host_map,
+ filter, attrs, state->ipa_opts->host_map,
IPA_OPTS_HOST, state->timeout, true);
state->current_entity = ENTITY_HOST;