URL: https://github.com/SSSD/sssd/pull/5942 Author: aborah-sudo Title: #5942: Tests: Fix python-alltests-tier1-2 Action: opened
PR body: """ only local users can be configured in `allowed_uids` This check is now enforced - see https://github.com/SSSD/sssd/pull/5867 """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5942/head:pr5942 git checkout pr5942
From 25acdee80e2fbe6e28d34a67991c5bdae9c3490a Mon Sep 17 00:00:00 2001 From: Anuj Borah <abo...@redhat.com> Date: Thu, 6 Jan 2022 09:20:37 +0530 Subject: [PATCH] Tests: Fix python-alltests-tier1-2 only local users can be configured in `allowed_uids` This check is now enforced - see https://github.com/SSSD/sssd/pull/5867 --- src/tests/multihost/alltests/test_sssctl_ldap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/multihost/alltests/test_sssctl_ldap.py b/src/tests/multihost/alltests/test_sssctl_ldap.py index aad60927ed..39c583fb1e 100644 --- a/src/tests/multihost/alltests/test_sssctl_ldap.py +++ b/src/tests/multihost/alltests/test_sssctl_ldap.py @@ -35,7 +35,7 @@ def test_0001_bz1638295(self, multihost, backupsssdconf): multihost.client[0].service_sssd('stop') tools.remove_sss_cache('/var/lib/sss/db') tools.sssd_conf("sssd", {'services': 'nss, pam, ifp'}, action='update') - domain_params = {'allowed_uids': 'root, foo1@%s' % ds_instance_name, + domain_params = {'allowed_uids': 'root, foo1', 'user_attributes': '+mail, -gecos'} tools.sssd_conf("ifp", domain_params) multihost.client[0].service_sssd('start') @@ -175,7 +175,7 @@ def test_0006_bz1638295(self, multihost, backupsssdconf): tools.sssd_conf("sssd", {'services': 'nss, pam, ifp', 'enable_files_domain': 'true'}, action='update') - domain_params = {'allowed_uids': '0, foo1@%s' % ds_instance_name, + domain_params = {'allowed_uids': '0, foo1', 'user_attributes': '+mail, -gecos'} tools.sssd_conf("ifp", domain_params) multihost.client[0].service_sssd('start')
_______________________________________________ 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