mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Changed addressing to the client hosts to be replicas
https://fedorahosted.org/freeipa/ticket/6287 Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
parent
39c15ecdcd
commit
ac78d191de
@ -390,7 +390,7 @@ class TestOldReplicaWorksAfterDomainUpgrade(IntegrationTest):
|
|||||||
|
|
||||||
class TestWrongClientDomain(IntegrationTest):
|
class TestWrongClientDomain(IntegrationTest):
|
||||||
topology = "star"
|
topology = "star"
|
||||||
num_clients = 1
|
num_replicas = 1
|
||||||
domain_name = 'exxample.test'
|
domain_name = 'exxample.test'
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -398,16 +398,16 @@ class TestWrongClientDomain(IntegrationTest):
|
|||||||
tasks.install_master(cls.master, domain_level=cls.domain_level)
|
tasks.install_master(cls.master, domain_level=cls.domain_level)
|
||||||
|
|
||||||
def teardown_method(self, method):
|
def teardown_method(self, method):
|
||||||
self.clients[0].run_command(['ipa-client-install',
|
self.replicas[0].run_command(['ipa-client-install',
|
||||||
'--uninstall', '-U'],
|
'--uninstall', '-U'],
|
||||||
raiseonerr=False)
|
raiseonerr=False)
|
||||||
tasks.kinit_admin(self.master)
|
tasks.kinit_admin(self.master)
|
||||||
self.master.run_command(['ipa', 'host-del',
|
self.master.run_command(['ipa', 'host-del',
|
||||||
self.clients[0].hostname],
|
self.replicas[0].hostname],
|
||||||
raiseonerr=False)
|
raiseonerr=False)
|
||||||
|
|
||||||
def test_wrong_client_domain(self):
|
def test_wrong_client_domain(self):
|
||||||
client = self.clients[0]
|
client = self.replicas[0]
|
||||||
client.run_command(['ipa-client-install', '-U',
|
client.run_command(['ipa-client-install', '-U',
|
||||||
'--domain', self.domain_name,
|
'--domain', self.domain_name,
|
||||||
'--realm', self.master.domain.realm,
|
'--realm', self.master.domain.realm,
|
||||||
@ -424,7 +424,7 @@ class TestWrongClientDomain(IntegrationTest):
|
|||||||
"'%s'" % (self.domain_name, self.master.domain.name))
|
"'%s'" % (self.domain_name, self.master.domain.name))
|
||||||
|
|
||||||
def test_upcase_client_domain(self):
|
def test_upcase_client_domain(self):
|
||||||
client = self.clients[0]
|
client = self.replicas[0]
|
||||||
result = client.run_command(['ipa-client-install', '-U', '--domain',
|
result = client.run_command(['ipa-client-install', '-U', '--domain',
|
||||||
self.master.domain.name.upper(), '-w',
|
self.master.domain.name.upper(), '-w',
|
||||||
self.master.config.admin_password,
|
self.master.config.admin_password,
|
||||||
|
Loading…
Reference in New Issue
Block a user