【发布时间】:2016-01-14 01:10:17
【问题描述】:
我在创建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
【问题讨论】: