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-08-01 12:18:33 -0400
commit7b02734a8d95cf2ed9a516081c42d8c92f0e7e9b (patch)
treea2638a6bf53d3bdf3b5deb2f7b20378c1dcec250 /src/providers/ipa/ipa_access.h
parent9cbcaf880cec85cd5d346ecb83e8d72c0046ce24 (diff)
downloadsssd-7b02734a8d95cf2ed9a516081c42d8c92f0e7e9b.tar.gz
sssd-7b02734a8d95cf2ed9a516081c42d8c92f0e7e9b.tar.xz
sssd-7b02734a8d95cf2ed9a516081c42d8c92f0e7e9b.zip
Add new HBAC lookup and evaluation routines
Conflicts: Makefile.am
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 */