mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Fix trust tests for Posix Support
Test ecxpects auto-detection of trust type, Windows Server 2016 doesn't have support for MFU/NIS (SFU - Services for Unix), so auto detection doesn't work Fix is to pass extra arguments to the trust-add command, such as --range-type="ipa-ad-trust-posix" to enforce a particular range type https://pagure.io/freeipa/issue/7508 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
9d73e4a0f1
commit
5165afd501
@ -208,8 +208,10 @@ class TestPosixADTrust(ADTrustBase):
|
||||
"""Integration test for Active Directory with POSIX support"""
|
||||
|
||||
def test_establish_trust(self):
|
||||
# Not specifying the --range-type directly, it should be detected
|
||||
tasks.establish_trust_with_ad(self.master, self.ad_domain)
|
||||
tasks.establish_trust_with_ad(
|
||||
self.master, self.ad_domain,
|
||||
extra_args=['--range-type', 'ipa-ad-trust-posix']
|
||||
)
|
||||
|
||||
def test_range_properties_in_posix_trust(self):
|
||||
# Check the properties of the created range
|
||||
|
Loading…
Reference in New Issue
Block a user