66cc1eaeec
- Related: RHEL-59777 Rebase Samba to the latest 4.21.x release - Resolves: RHEL-59659 ipa dns-zone --allow-query '!198.18.2.0/24;any;' fails with Unrecognized IPAddress flags - Resolves: RHEL-61636 Uninstall ACME separately during PKI uninstallation - Resolves: RHEL-61723 Include latest fixes in python3-ipatests packages - Resolves: RHEL-63325 Last expired OTP token would be considered as still assigned to the user Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
42 lines
1.6 KiB
Diff
42 lines
1.6 KiB
Diff
From 761647f842567713032709753b6d63467d9871a6 Mon Sep 17 00:00:00 2001
|
|
From: Sudhir Menon <sumenon@redhat.com>
|
|
Date: Mon, 23 Sep 2024 14:05:43 +0530
|
|
Subject: [PATCH] ipatests: Activate ssh in sssd.conf
|
|
|
|
This testcase checks that services: ssh
|
|
is included in the sssd.conf file when
|
|
ipa-client-install is successful.
|
|
|
|
Ref: https://pagure.io/freeipa/issue/9649
|
|
|
|
Signed-off-by: Sudhir Menon <sumenon@redhat.com>
|
|
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
|
|
---
|
|
ipatests/test_integration/test_installation_client.py | 10 ++++++++++
|
|
1 file changed, 10 insertions(+)
|
|
|
|
diff --git a/ipatests/test_integration/test_installation_client.py b/ipatests/test_integration/test_installation_client.py
|
|
index f8567b39eead4dffd522aad504fa72a086969257..884bff2f2f3e49f66da391424e128d8e31b82a8a 100644
|
|
--- a/ipatests/test_integration/test_installation_client.py
|
|
+++ b/ipatests/test_integration/test_installation_client.py
|
|
@@ -94,6 +94,16 @@ class TestInstallClient(IntegrationTest):
|
|
).encode() not in krb5_cfg
|
|
tasks.uninstall_client(self.clients[0])
|
|
|
|
+ def test_check_ssh_service_is_activated(self):
|
|
+ """
|
|
+ This test checks all default services are activated
|
|
+ in sssd.conf including ssh
|
|
+ """
|
|
+ tasks.install_client(self.master, self.clients[0])
|
|
+ sssd_cfg = self.clients[0].get_file_contents(paths.SSSD_CONF)
|
|
+ assert 'services = nss, pam, ssh, sudo' in sssd_cfg.decode()
|
|
+ tasks.uninstall_client(self.clients[0])
|
|
+
|
|
def test_install_with_automount(self):
|
|
"""Test that installation with automount is successful"""
|
|
tasks.install_client(self.master, self.clients[0],
|
|
--
|
|
2.46.2
|
|
|