Skip to content

Commit

Permalink
Test: files_provider replaced with proxy
Browse files Browse the repository at this point in the history
Fixing minor typo
  • Loading branch information
shridhargadekar committed Feb 15, 2024
1 parent 8fd2df7 commit 15409f1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/tests/multihost/alltests/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,15 @@ def test_0003_sssd_crashes_after_update(self, multihost,
domain_name = tools.get_domain_section_name()
client = sssdTools(multihost.client[0])
domain_params = {'cache_credentials': 'true',
'entry_cache_timeout': '5400',
'refresh_expired_interval': '4000'}
client.sssd_conf(f'domain/{domain_name}', domain_params)
client.sssd_conf("sssd", {'enable_files_domain': 'true'}, action='update')
s_param = {'domains': 'local'}
tools.sssd_conf('sssd',s_param)
param = {'id_provider': 'proxy',
'proxy_lib_name': 'files',
'passwd_files': '/etc/passwd',
'proxy_pam_target': 'sssd-shadowutils'}
tools.sssd_conf('domain/local', param)
multihost.client[0].service_sssd('restart')
user = f'foo1@{domain_name}'
check_login_client(multihost, user, "Secret123")
Expand Down

0 comments on commit 15409f1

Please sign in to comment.