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:
Tomas Babej
2014-02-05 09:07:45 +01:00
committed by Petr Viktorin
parent 01a0249a40
commit 99facb753a

View File

@@ -221,6 +221,8 @@ class BaseTestLegacyClient(object):
def install(cls):
super(BaseTestLegacyClient, cls).install()
tasks.kinit_admin(cls.master)
password_confirmation = (
cls.master.config.admin_password +
'\n' +