mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: Make sure we re-kinit as admin before adding the disabledipauser
When we add the disabledipauser during the setup class part of the BaseTestLegacyClient, we need to make sure that we re-kinit admin since we do ntpsync with the AD just before that, which can render the previous ticket invalid. Reviewed-By: Nathaniel McCallum <npmccallum@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
01a0249a40
commit
99facb753a
@@ -221,6 +221,8 @@ class BaseTestLegacyClient(object):
|
|||||||
def install(cls):
|
def install(cls):
|
||||||
super(BaseTestLegacyClient, cls).install()
|
super(BaseTestLegacyClient, cls).install()
|
||||||
|
|
||||||
|
tasks.kinit_admin(cls.master)
|
||||||
|
|
||||||
password_confirmation = (
|
password_confirmation = (
|
||||||
cls.master.config.admin_password +
|
cls.master.config.admin_password +
|
||||||
'\n' +
|
'\n' +
|
||||||
|
|||||||
Reference in New Issue
Block a user