Klist错误:凭证缓存中的格式错误 [英] Klist error: Bad format in credentials cache

查看:969
本文介绍了Klist错误:凭证缓存中的格式错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在检查新创建的密钥表时,我看到以下错误:

I am seeing the following error when inspecting a newly created keytab:

[rxie @ cedgedev02〜] $ klist rxie.keytab klist:格式错误 凭据缓存(文件名:rxie.keytab)

[rxie@cedgedev02 ~]$ klist rxie.keytab klist: Bad format in credentials cache (filename: rxie.keytab)

[rxie @ cedgedev02〜] $ kinit -kt rxie.keytab kinit:无法确定 主机领域(主要主机/cedgedev02.company.com @)

[rxie@cedgedev02 ~]$ kinit -kt rxie.keytab kinit: Cannot determine realm for host (principal host/cedgedev02.company.com@)

请注意,我在这里替换了公司的名称.

Note I replaced the company's name here.

密钥表是使用自定义的python文件创建的,该文件包装了以下实际的ktutil命令:

The keytab was created with a customized python file which wraps the actual ktutil commands below:

addent -password -p rxie@COMPANY.COM -k 1 -e rc4-hmac
addent -password -p rxie@COMPANY.COM -k 1 -e aes256-cts

任何人都可以分享您对这里缺少什么/什么的想法吗?非常感谢.

Can any one share your thought on where/what is missing here? Thank you very much.

推荐答案

有效的命令是:

kinit -kt rxie.keytab rxie

这篇关于Klist错误:凭证缓存中的格式错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆