From 5221f4c2a08094e15f516bbef8a722c0869ba53a Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud Date: Tue, 16 Mar 2021 18:17:48 +0100 Subject: [PATCH] ipatests: filter_users belongs to nss section In the test test_sssd.py::TestSSSDWithAdTrust::test_is_user_filtered the config file sssd.conf is modified with a parameter filter_users written in the [domain/..] section but the parameter should appear in [nss] section instead. Fixes: https://pagure.io/freeipa/issue/8747 Signed-off-by: Florence Blanc-Renaud Reviewed-By: Rob Crittenden --- ipatests/test_integration/test_sssd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/test_integration/test_sssd.py b/ipatests/test_integration/test_sssd.py index 5391433e3..309179cca 100644 --- a/ipatests/test_integration/test_sssd.py +++ b/ipatests/test_integration/test_sssd.py @@ -147,7 +147,7 @@ class TestSSSDWithAdTrust(IntegrationTest): sssd_conf_backup = tasks.FileBackup(self.master, paths.SSSD_CONF) try: with tasks.remote_sssd_config(self.master) as sssd_conf: - sssd_conf.edit_domain(self.master.domain, + sssd_conf.edit_service("nss", 'filter_users', self.users[user]['name']) tasks.clear_sssd_cache(self.master) yield