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
committerJakub Hrozek <jhrozek@redhat.com>2012-08-21 12:12:35 +0200
commit49c06899c6b8e06fa0c371dbd8a16ead32c651d9 (patch)
tree535b5ee29705c3d943e54609498aaedd5bf815b5 /src/providers/ipa/ipa_hbac_private.h
parentee0a1b3f94846fb19fbe3b72304d7ea2c989669c (diff)
downloadsssd-49c06899c6b8e06fa0c371dbd8a16ead32c651d9.tar.gz
sssd-49c06899c6b8e06fa0c371dbd8a16ead32c651d9.tar.xz
sssd-49c06899c6b8e06fa0c371dbd8a16ead32c651d9.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 32b5d70ce..65488a283 100644
--- a/src/providers/ipa/ipa_hbac_private.h
+++ b/src/providers/ipa/ipa_hbac_private.h
@@ -106,6 +106,8 @@ ipa_hbac_host_info_send(TALLOC_CTX *mem_ctx,
struct sss_domain_info *dom,
struct sdap_handle *sh,
struct sdap_options *opts,
+ bool support_srchost,
+ const char *hostname,
const char *search_base);
errno_t
@@ -130,6 +132,7 @@ hbac_shost_attrs_to_rule(TALLOC_CTX *mem_ctx,
struct sss_domain_info *domain,
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,