ipatests: add AD DC as a DNS forwarder before establishing trust

"ipa trust-add" was not able to establish trust because it could not
find the AD domain controller.

Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Sergey Orlov 2020-03-25 12:00:51 +01:00
parent e927396851
commit a2dee05b16
No known key found for this signature in database
GPG Key ID: ADF8C90EDD04503D

View File

@ -53,6 +53,7 @@ class TestCertsInIDOverrides(IntegrationTest):
# AD-related stuff
tasks.install_adtrust(master)
tasks.sync_time(master, cls.ad)
tasks.configure_dns_for_trust(master, cls.ad)
tasks.establish_trust_with_ad(cls.master, cls.ad_domain,
extra_args=['--range-type',
'ipa-ad-trust'])