summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_netgroups.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_netgroups.c b/src/providers/ipa/ipa_netgroups.c
index ddebe61b..c2809519 100644
--- a/src/providers/ipa/ipa_netgroups.c
+++ b/src/providers/ipa/ipa_netgroups.c
@@ -597,6 +597,12 @@ static void ipa_netgr_members_process(struct tevent_req *subreq)
state->host_base_iter++;
ret = ipa_netgr_fetch_hosts(state, req);
table = state->new_hosts;
+ } else {
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Invalid entity type given for processing: %d\n",
+ state->current_entity));
+ ret = EINVAL;
+ goto fail;
}
if (ret == EOK) {