Skip to content

Commit

Permalink
Tests: Fix test_kcm_ssh_login_creates_kerberos_ticket
Browse files Browse the repository at this point in the history
Reviewed-by: Madhuri Upadhye <[email protected]>
  • Loading branch information
jakub-vavra-cz committed Apr 4, 2024
1 parent 79c384f commit 1c2aa82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/system/tests/test_kcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,8 @@ def test_kcm_ssh_login_creates_kerberos_ticket(client: Client, ldap: LDAP, kdc:
kdc.principal("user1").add()

client.sssd.common.krb5_auth(kdc)
client.sssd.domain["krb5_realm"] = kdc.realm
client.sssd.domain["krb5_server"] = kdc.host.hostname
client.sssd.start()

with client.ssh("user1", "Secret123") as ssh:
Expand Down

0 comments on commit 1c2aa82

Please sign in to comment.