Skip to content

Commit

Permalink
Tests: alltests/test_krb5: Replace files provider
Browse files Browse the repository at this point in the history
Replace files provider with proxy provider.
This test case test authentication of local user using
kerberos and also update the authselect to select sssd only.

Signed-off-by: Madhuri Upadhye <[email protected]>
  • Loading branch information
madhuriupadhye committed Feb 16, 2024
1 parent 8fd2df7 commit ed9c056
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/multihost/alltests/test_krb5.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ def test_0001_krb5_not_working_based_on_k5login(self,
:bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1734094
"""
multihost.client[0].run_command('authselect select sssd '
'with-files-access-provider')
multihost.client[0].run_command('authselect select sssd')
multihost.client[0].service_sssd('stop')
client_tool = sssdTools(multihost.client[0])
domain_params = {'id_provider': 'files',
domain_params = {'proxy_lib_name': 'files',
'passwd_files': '/etc/passwd',
'proxy_pam_target': 'sssd-shadowutils'}
'access_provider': 'krb5'}
client_tool.sssd_conf('domain/example1', domain_params)
dmain_delete = {"ldap_user_home_directory": "/home/%u",
Expand All @@ -54,7 +55,6 @@ def test_0001_krb5_not_working_based_on_k5login(self,
multihost.client[0].run_command(f'rm -vf /home/{user}/.k5login')
multihost.client[0].service_sssd('restart')
check_login_client(multihost, user, 'Secret123')
multihost.client[0].run_command('authselect select sssd')

@pytest.mark.tier1_2
def test_0002_generating_lot_of(self, multihost, backupsssdconf):
Expand Down

0 comments on commit ed9c056

Please sign in to comment.