summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_hbac_private.h
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-11-04 13:16:47 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-11-29 14:21:08 -0500
commit6fb75e297bf7fc83e3db1f5ae8560624656ef319 (patch)
tree3c7fe79f6ffb5ab3c5403f71a5a08adbb09d5d3a /src/providers/ipa/ipa_hbac_private.h
parent6d99c0f5616969a999d78248565a47b18d40d472 (diff)
downloadsssd-6fb75e297bf7fc83e3db1f5ae8560624656ef319.tar.gz
sssd-6fb75e297bf7fc83e3db1f5ae8560624656ef319.tar.xz
sssd-6fb75e297bf7fc83e3db1f5ae8560624656ef319.zip
Add ipa_hbac_support_srchost option to IPA provider
don't fetch all host groups if this option is false https://fedorahosted.org/sssd/ticket/1078
Diffstat (limited to 'src/providers/ipa/ipa_hbac_private.h')
-rw-r--r--src/providers/ipa/ipa_hbac_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_hbac_private.h b/src/providers/ipa/ipa_hbac_private.h
index 6b5956df0..05256058d 100644
--- a/src/providers/ipa/ipa_hbac_private.h
+++ b/src/providers/ipa/ipa_hbac_private.h
@@ -105,6 +105,8 @@ ipa_hbac_host_info_send(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
struct sdap_handle *sh,
struct sdap_options *opts,
+ bool support_srchost,
+ const char *hostname,
const char *search_base);
errno_t
@@ -127,6 +129,7 @@ hbac_shost_attrs_to_rule(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *sysdb,
const char *rule_name,
struct sysdb_attrs *rule_attrs,
+ bool support_srchost,
struct hbac_rule_element **source_hosts);
errno_t
get_ipa_hostgroupname(TALLOC_CTX *mem_ctx,