Bug 1677994
| Summary: | sssd config-check reports an error for a valid configuration option | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Thorsten Scherf <tscherf> |
| Component: | sssd | Assignee: | SSSD Maintainers <sssd-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Madhuri <mupadhye> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.0 | CC: | dbula, grajaiya, jhrozek, lslebodn, mupadhye, mzidek, pbrezina, sgoveas, tscherf |
| Target Milestone: | rc | Flags: | dbula:
mirror+
|
| Target Release: | 8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | sssd-2.1.0-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-11-05 22:34:01 UTC | 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: | |||
| Bug Depends On: | 1682305 | ||
| Bug Blocks: | |||
|
Description
Thorsten Scherf
2019-02-17 12:50:49 UTC
Upstream ticket: https://pagure.io/SSSD/sssd/issue/3961 Upstream fixes: master: 85e3630 sssd-1-16: 5e70cf5 Verified with
sssd-2.2.0-11.el8
Verified with following code snippet
case 1:
ldap_host_object_class option in domain section,
@pytest.mark.tier1
def test_0023_checkldaphostobjectdomain(self, multihost, backupsssdconf):
"""
@Title: IDM-SSSD-TC: Configuration validation: Check
ldap_host_object_class option in domain section
"""
section = "domain/%s" % ds_instance_name
tools = sssdTools(multihost.client[0])
domain_params = {'ldap_host_object_class': 'ipService'}
tools.sssd_conf(section, domain_params)
multihost.client[0].service_sssd('restart')
sssctl_cmd = 'sssctl config-check'
cmd = multihost.client[0].run_command(sssctl_cmd, raiseonerr=False)
assert cmd.returncode == 0
case 2:
ldap_host_object_class option in sssd section,
@pytest.mark.tier1
def test_0024_checkldaphostobjectsssd(self, multihost, backupsssdconf):
"""
@Title: IDM-SSSD-TC: Configuration validation: Check
ldap_host_object_class option in sssd section
"""
section = "sssd"
tools = sssdTools(multihost.client[0])
sssd_params = {'ldap_host_object_class': 'ipService'}
tools.sssd_conf(section, sssd_params)
multihost.client[0].service_sssd('restart')
sssctl_cmd = 'sssctl config-check'
cmd = multihost.client[0].run_command(sssctl_cmd, raiseonerr=False)
assert cmd.returncode == 1
log = re.compile(r".Attribute\s.ldap_host_object_class.\sis\snot\s"
r"allowed\sin\ssection\s.sssd.*")
assert log.search(cmd.stdout_text)
Both test cases are passing
Thus marking this as verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3651 |