summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichal Židek <mzidek@redhat.com>2017-04-04 19:07:12 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2017-05-31 16:38:56 +0200
commitf433e4dc4d80bef398ed8d9aac123963015bd2f0 (patch)
treedc3b533cf3e9be42a22e38360d3abeb7306f06c2 /src/config
parent0ab730850171c125cd4ce578c123656dd88eb484 (diff)
downloadsssd-f433e4dc4d80bef398ed8d9aac123963015bd2f0.tar.gz
sssd-f433e4dc4d80bef398ed8d9aac123963015bd2f0.tar.xz
sssd-f433e4dc4d80bef398ed8d9aac123963015bd2f0.zip
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 <lslebodn@redhat.com>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/cfg_rules.ini5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini
index 4cc0534b8..6e9bf940b 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]