为了自动化我正在运行的脚本,我在创建keytab时遇到了问题。
我正在使用这个网站作为参考here
这就是我到目前为止所做的:
$ ktutil
ktutil: addent -password -p bli1@testtesttest.corp.supernice.net -k 1 -e arcfour-hmac
Password for bli1@testtesttest.corp.supernice.net:
ktutil:
ktutil: wkt bli1.keytab
ktutil: quit当我试图运行这个脚本时,我得到了这个错误:
$ kinit bli1@testtesttest.corp.supernice.net -k -t bli1.keytab; python3 -m pytrinity.monitors.rate_monitor test
kinit: Cannot find KDC for requested realm while getting initial credentials我不确定我是否正确地创建了keytab,因为在keytab创建过程中,我很难找到关于每个参数的深入文档。我不确定-k是用来做什么的。
addent: add entry
-password: add password
-p: principal
-e: encryption发布于 2016-01-14 12:13:22
根据错误消息,我认为问题出在与KDC的连接上。kerberos配置文件中的内容是什么? /etc/krb5.conf通常是它的名称。
https://stackoverflow.com/questions/34780028
复制相似问题