283d589b3025a3cadaaddf330d3fb4dc4175968d |
|
03-Jun-2017 |
Michal Židek <mzidek@redhat.com> |
TESTS: Add one config-check test case
Add test case with wrong subdomain section format, where the too many
domains are used to identify the trusted domain instead of just the
connected domain and the one trusted domain that is being configured.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
291b6bfd499fd64416b75c05c8846a5102600f3c |
|
01-Jun-2017 |
Lukas Slebodnik <lslebodn@redhat.com> |
test_config_check: Fix few issues
* enable few tests
* malformed configuration file due to missing closing ']'
* fix few expected failures
* add few sections into whitelist test
* crash in test if count of expected failures is different then real
value
[ RUN ] config_check_test_bad_subdom_option_name
[rule/allowed_domain_options]: Attribute 'debug_leTYPOvel' is not allowed in section 'domain/A.test/B.A.test'. Check for typos.
[rule/allowed_subdomain_options]: Attribute 'debug_leTYPOvel' is not allowed in section 'domain/A.test/B.A.test'. Check for typos.
[ ERROR ] --- Test failed with exception: Segmentation fault(11)
Reviewed-by: Michal Židek <mzidek@redhat.com> |
39c5aee02fa36ba1cb78fe7669f272fec5277018 |
|
31-May-2017 |
Michal Židek <mzidek@redhat.com> |
VALIDATORS: Detect inherit_from in normal domain
This patch adds new sssd specific validator. In the future we
can add more checks in it, but currently it only checks if
the option inherit_from is used on normal domain and reports
error if it is.
Resolves:
https://pagure.io/SSSD/sssd/issue/3356
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
537103f296b7112d9fd505af941a6d83d7902eb1 |
|
31-May-2017 |
Michal Židek <mzidek@redhat.com> |
TESTS: Add unit tests for cfg validation
Add infrastructure for unit tests for validators.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |