Bug 2100789
| Summary: | [Improvement] sssctl config-check command does not show an error when we don't have id_provider in the domain section | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Madhuri <mupadhye> |
| Component: | sssd | Assignee: | Alejandro López <allopez> |
| Status: | VERIFIED --- | QA Contact: | Madhuri <mupadhye> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | aboscatt, atikhono, grajaiya, lslebodn, mzidek, pasik, pbrezina, thalman, tscherf |
| Target Milestone: | rc | Keywords: | Improvement, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | sssd-2.9.0-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Madhuri
2022-06-24 09:40:39 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6550 Pushed PR: https://github.com/SSSD/sssd/pull/6550 * `master` * f283248ffc238d4601da561bfd1717601d556436 - CONFIG-CHECK: inherit_from is not a typo * f604d033f89f49ec6061ef5e9de40554731fca23 - TESTS: Test mandatory id_provider * 255d9f6e8974e219958204aab8623f186b9a928e - CHECK-CONFIG: id_provider is now mandatory * 1911ad64fbdd957235df29ee8b7315b8130e9ac4 - CONFIG-CHECK: Function always returns EOK * fe67123cc106a57e8087e518f9ef60606c0f5f10 - CONFIG-CHECK: Extracted code checking 'inherit_from' Verified with: [root@ip-10-0-189-89 ~]# rpm -qa sssd sssd-2.9.0-3.el9.x86_64 Case 1: remove id_provider from domain section of sssd [root@ip-10-0-189-89 ~]# sssctl config-check Issues identified by validators: 1 [rule/sssd_checks]: Attribute 'id_provider' is missing in section 'domain/example1'. Messages generated during configuration merging: 0 Used configuration snippet files: 0 Case 2: Add invalid id_provider's value [root@ip-10-0-189-89 ~]# cat /etc/sssd/sssd.conf | grep id_provider id_provider = invalid [root@ip-10-0-189-89 ~]# sssctl config-check Issues identified by validators: 1 [rule/sssd_checks]: Attribute 'id_provider' in section 'domain/example1' has an invalid value: invalid Messages generated during configuration merging: 0 Used configuration snippet files: 0 From above marking this verified. |