mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: fix expected output for ipahealthcheck.ipa.host
ipa-healthcheck commit e69589d5 changed the output when a service keytab is missing to not report the GSSAPI error but to report that the keytab doesn't exist at all. This distinguishes from real Kerberos issues like kvno. Fixes: https://pagure.io/freeipa/issue/9482 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> Reviewed-By: Michal Polovka <mpolovka@redhat.com>
This commit is contained in:
parent
d659d21b43
commit
f00b52ce6d
@ -635,9 +635,15 @@ class TestIpaHealthCheck(IntegrationTest):
|
||||
ipahealthcheck.ipa.host when GSSAPI credentials cannot be obtained
|
||||
from host's keytab.
|
||||
"""
|
||||
msg = (
|
||||
"Minor (2529639107): No credentials cache found"
|
||||
)
|
||||
version = tasks.get_healthcheck_version(self.master)
|
||||
if parse_version(version) >= parse_version("0.15"):
|
||||
msg = (
|
||||
"Service {service} keytab {path} does not exist."
|
||||
)
|
||||
else:
|
||||
msg = (
|
||||
"Minor (2529639107): No credentials cache found"
|
||||
)
|
||||
|
||||
with tasks.FileBackup(self.master, paths.KRB5_KEYTAB):
|
||||
self.master.run_command(["rm", "-f", paths.KRB5_KEYTAB])
|
||||
|
Loading…
Reference in New Issue
Block a user