diff options
author | Jan Zeleny <jzeleny@redhat.com> | 2011-11-04 13:16:47 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-21 12:12:35 +0200 |
commit | 49c06899c6b8e06fa0c371dbd8a16ead32c651d9 (patch) | |
tree | 535b5ee29705c3d943e54609498aaedd5bf815b5 /src/providers/ipa/ipa_common.c | |
parent | ee0a1b3f94846fb19fbe3b72304d7ea2c989669c (diff) | |
download | sssd-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_common.c')
-rw-r--r-- | src/providers/ipa/ipa_common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c index 7f71d6b40..5be1fc08b 100644 --- a/src/providers/ipa/ipa_common.c +++ b/src/providers/ipa/ipa_common.c @@ -38,7 +38,8 @@ struct dp_option ipa_basic_opts[] = { { "ipa_hbac_search_base", DP_OPT_STRING, NULL_STRING, NULL_STRING}, { "krb5_realm", DP_OPT_STRING, NULL_STRING, NULL_STRING}, { "ipa_hbac_refresh", DP_OPT_NUMBER, { .number = 5 }, NULL_NUMBER }, - { "ipa_hbac_treat_deny_as", DP_OPT_STRING, { "DENY_ALL" }, NULL_STRING } + { "ipa_hbac_treat_deny_as", DP_OPT_STRING, { "DENY_ALL" }, NULL_STRING }, + { "ipa_hbac_support_srchost", DP_OPT_BOOL, BOOL_FALSE, BOOL_FALSE } }; struct dp_option ipa_def_ldap_opts[] = { |