加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > PHP教程 > 正文

php – 无法获取缓存的Kerberos票证

发布时间:2020-12-13 16:09:14 所属栏目:PHP教程 来源:网络整理
导读:我已经在 Windows域中获得授权,并希望获得我的Kerberos票证的缓存. 从Windows命令行我可以获取故障单的元数据(但不是缓存本身): klist tickets 我需要缓存使用php-function ldap_sasl_bind,其中我必须使用缓存票证的路径设置环境变量KRB5CCNAME. 有没有办法
我已经在 Windows域中获得授权,并希望获得我的Kerberos票证的缓存.
从Windows命令行我可以获取故障单的元数据(但不是缓存本身):

klist tickets

我需要缓存使用php-function ldap_sasl_bind,其中我必须使用缓存票证的路径设置环境变量KRB5CCNAME.
有没有办法在Windows(或缓存路径)中获取Kerberos票证缓存?
环境:Windows 2008,IIS 7.5.

解决方法

SAS,

查看微软的Tim Springston撰写的以下文章 –

查看和清除缓存的Kerberos票证

@ https://blogs.technet.microsoft.com/tspring/2014/06/23/viewing-and-purging-cached-kerberos-tickets/

在其中,他提供了两个PowerShell脚本,在运行时 –

… a quick and easy way to list the cached tickets for all users on a computer. We are also left with a quick way to purge all cached tickets from a server while keeping the server available to provide services.

希望这篇文章至少可以帮助你.

最好,-Rush

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读