- Resolves: RHEL-100450 eDNS: multiple issues during encrypted DNS setup - Resolves: RHEL-89907 Privilege escalation from host to domain admin in FreeIPA - Resolves: RHEL-99315 Include latest fixes in python3-ipatests package - Resolves: RHEL-98565 ipa-idrange-fix: 'Env' object has no attribute 'basedn' - Resolves: RHEL-96920 Nightly test failure (rawhide) in test_trust.py::TestTrust::test_server_option_with_unreachable_ad - Resolves: RHEL-31907 kdb: support storing and retrieving multiple master keys Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
56 lines
1.9 KiB
Diff
56 lines
1.9 KiB
Diff
From 15adc2679dabc97fdc4514fc0775be7308bd922a Mon Sep 17 00:00:00 2001
|
|
From: Sudhir Menon <sumenon@redhat.com>
|
|
Date: Mon, 9 Jun 2025 17:20:32 +0530
|
|
Subject: [PATCH] ipatests: Tests for 32BitIdranges.
|
|
|
|
Running 32BitIdrange tests in AD enviornment
|
|
|
|
Signed-off-by: Sudhir Menon <sumenon@redhat.com>
|
|
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
|
|
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
|
|
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
|
|
---
|
|
.../test_integration/test_32bit_idranges.py | 22 +++++++++++++++++++
|
|
1 file changed, 22 insertions(+)
|
|
|
|
diff --git a/ipatests/test_integration/test_32bit_idranges.py b/ipatests/test_integration/test_32bit_idranges.py
|
|
index e76e117e5f1627af02274a13d3ac12ca84eb7ad9..a928628d399d3a94901f0220c3af3e97c5115ffe 100644
|
|
--- a/ipatests/test_integration/test_32bit_idranges.py
|
|
+++ b/ipatests/test_integration/test_32bit_idranges.py
|
|
@@ -6,6 +6,7 @@ from __future__ import absolute_import
|
|
|
|
from ipatests.pytest_ipa.integration import tasks
|
|
from ipatests.test_integration.base import IntegrationTest
|
|
+from ipatests.test_integration.test_trust import BaseTestTrust
|
|
|
|
|
|
class Test32BitIdRanges(IntegrationTest):
|
|
@@ -102,3 +103,24 @@ class Test32BitIdRanges(IntegrationTest):
|
|
)
|
|
assert result.returncode == 0
|
|
assert str(uid) in result.stdout_text
|
|
+
|
|
+
|
|
+class Test32BitIdrangeInTrustEnv(Test32BitIdRanges, BaseTestTrust):
|
|
+ """
|
|
+ Tests to check 32BitIdrange functionality
|
|
+ in IPA-AD trust enviornment
|
|
+ """
|
|
+ topology = 'line'
|
|
+ num_ad_domains = 1
|
|
+ num_ad_subdomains = 0
|
|
+ num_ad_treedomains = 0
|
|
+ num_clients = 0
|
|
+
|
|
+ @classmethod
|
|
+ def install(cls, mh):
|
|
+ super(BaseTestTrust, cls).install(mh)
|
|
+ cls.ad = cls.ads[0]
|
|
+ cls.ad_domain = cls.ad.domain.name
|
|
+ tasks.configure_dns_for_trust(cls.master, cls.ad)
|
|
+ tasks.install_adtrust(cls.master)
|
|
+ tasks.establish_trust_with_ad(cls.master, cls.ad.domain.name)
|
|
--
|
|
2.50.0
|
|
|