URL: https://github.com/SSSD/sssd/pull/5740 Author: aborah-sudo Title: #5740: Test: Fix RHEL9.0 Regression - alltests-tier1 Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5740/head:pr5740 git checkout pr5740
From cfaa65f644bd87cb54e1791edf494640a0c201d1 Mon Sep 17 00:00:00 2001 From: Anuj Borah <abo...@redhat.com> Date: Tue, 10 Aug 2021 09:49:57 +0530 Subject: [PATCH] Test: Fix RHEL9.0 Regression - alltests-tier1 There is no "implicit" 'files provider' enabled by default on RHEL9, SSSD doesn't serve local users if you didn't configure this in `domains` list explicitly. So adding a domain with id_provider = files. --- src/tests/multihost/alltests/test_services.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tests/multihost/alltests/test_services.py b/src/tests/multihost/alltests/test_services.py index 99b0a01fd5..50c9b52fc5 100644 --- a/src/tests/multihost/alltests/test_services.py +++ b/src/tests/multihost/alltests/test_services.py @@ -41,8 +41,12 @@ def test_0002_1736796(self, multihost, localusers): sudoers_file = '/etc/sudoers.d/%s' % user multihost.client[0].put_file_contents(sudoers_file, allow_sudo) tools = sssdTools(multihost.client[0]) - sssd_params = {'default_domain_suffix': 'foo'} + sssd_params = {'default_domain_suffix': 'foo', + 'domains': 'LOCAL'} tools.sssd_conf('sssd', sssd_params) + domain_section = 'domain/LOCAL' + domain_params = {'id_provider': 'files'} + tools.sssd_conf(domain_section, domain_params) multihost.client[0].service_sssd('restart') for user in users.keys(): try:
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure