From 32a5516cc2822cf6ad9950278e3c9701a9389bb4 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 6 Jun 2011 22:38:15 -0400 Subject: Add new HBAC lookup and evaluation routines --- src/providers/ipa/ipa_access.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/providers/ipa/ipa_access.h') diff --git a/src/providers/ipa/ipa_access.h b/src/providers/ipa/ipa_access.h index d24056a83..da43fea2b 100644 --- a/src/providers/ipa/ipa_access.h +++ b/src/providers/ipa/ipa_access.h @@ -54,6 +54,24 @@ struct hbac_ctx { struct pam_data *pd; char *hbac_search_base; + + /* Hosts */ + size_t host_count; + struct sysdb_attrs **hosts; + size_t hostgroup_count; + struct sysdb_attrs **hostgroups; + struct sysdb_attrs *ipa_host; + + /* Rules */ + bool get_deny_rules; + size_t rule_count; + struct sysdb_attrs **rules; + + /* Services */ + size_t service_count; + struct sysdb_attrs **services; + size_t servicegroup_count; + struct sysdb_attrs **servicegroups; }; /* Get BE context associated with HBAC context */ -- cgit