Skip to content

Commit

Permalink
Tests: tier1/test_service: Remove files provider
Browse files Browse the repository at this point in the history
Tier1: for test_0002_1736796:

Replacing the files provider to proxy provider,
as here we are adding the local user and giving
sudo permission to user to switch to root without password.
Here, we are checking the authentication and also
checking the sudo access for local user.

Signed-off-by: Madhuri Upadhye <[email protected]>
  • Loading branch information
madhuriupadhye committed Feb 15, 2024
1 parent 8fd2df7 commit 9d83a52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tests/multihost/alltests/test_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def test_0002_1736796(self, multihost, localusers):
'domains': 'LOCAL'}
tools.sssd_conf('sssd', sssd_params)
domain_section = 'domain/LOCAL'
domain_params = {'id_provider': 'files'}
domain_params = {'id_provider': 'proxy',
'proxy_lib_name': 'files',
'proxy_pam_target': 'sssd-shadowutils'}
tools.sssd_conf(domain_section, domain_params)
multihost.client[0].service_sssd('restart')
failures = []
Expand Down

0 comments on commit 9d83a52

Please sign in to comment.