From f433e4dc4d80bef398ed8d9aac123963015bd2f0 Mon Sep 17 00:00:00 2001 From: Michal Židek Date: May 31 2017 14:38:56 +0000 Subject: VALIDATORS: Remove application section domain Application domains can use the same options as normal domains section with one more additional option. We could either duplicate all options from the domain section also in the application domain section + add the one additional option or add this one option to the domain section even though it is not meant to be used there to avoid duplication of all domain options in the rule for application section. It would be could to enhance the validators in libini to allow something like 'include' section in order to avoid this issue in the future. Resolves: https://pagure.io/SSSD/sssd/issue/3356 Reviewed-by: Lukáš Slebodník --- diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini index 4cc0534..6e9bf94 100644 --- a/src/config/cfg_rules.ini +++ b/src/config/cfg_rules.ini @@ -695,10 +695,7 @@ option = ldap_user_uid_number option = ldap_user_uuid option = ldap_use_tokengroups -[rule/allowed_application_options] -validator = ini_allowed_options -section_re = ^application/.*$ - +# For application domains option = inherit_from [rule/allowed_subdomain_options]