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 <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2021-03-16 18:17:48 +01:00
parent 96a297f3b3
commit 6d39ef7de6

View File

@ -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