summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_access.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-06-06 22:38:15 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-07-08 15:12:24 -0400
commit32a5516cc2822cf6ad9950278e3c9701a9389bb4 (patch)
treeb5fc71c09371ff0c7a6f498c9c3bb2a9cf375839 /src/providers/ipa/ipa_access.h
parent90890b6f4ee75194db0e6dc9c99a8d21f34dd8be (diff)
downloadsssd-32a5516cc2822cf6ad9950278e3c9701a9389bb4.tar.gz
sssd-32a5516cc2822cf6ad9950278e3c9701a9389bb4.tar.xz
sssd-32a5516cc2822cf6ad9950278e3c9701a9389bb4.zip
Add new HBAC lookup and evaluation routines
Diffstat (limited to 'src/providers/ipa/ipa_access.h')
-rw-r--r--src/providers/ipa/ipa_access.h18
1 files changed, 18 insertions, 0 deletions
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 */