我用Active Directory得到了几个关于Kerberos的问题,特别是关于ktpass工具。
我正在使用的示例AD(一切都在2012R2级别):
活动目录域名:ad.example.com
域控制器 :dc.ad.example.com
服务器服务器名称 :server.ad.example.com
服务用户名 :[email protected]
我使用这个作为参考调用ktpass命令:
ktpass /princ SERVICE-NAME/[email protected] /mapuser [email protected] /pass * /ptype KRB5_NT_PRICIPAL /crypto AES128-SHA1
我的testing系统输出:
Targeting domain controller: dc.ad.example.com Using legacy password setting method Successfully mapped SERVICE-NAME/server.ad.example.com to [email protected]. Type the password for SERVICE-NAME/server.ad.example.com: Type the password again to confirm: Key created.
现在的问题是:
setspn -U -S SERVICE-NAME/server.ad.example.com test-service-user吗? 或者还有其他一些映射吗? 如果是的话如何撤消那个映射?