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

标签 php iis-7.5 kerberos

我已经在 Windows 域中获得授权,并且想要获取我的 Kerberos 票证的缓存。 从 Windows 命令行我可以获得票证的元数据(但不是缓存本身):

klist tickets

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

最佳答案

SAS,

查看 Microsoft 的 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.

希望这篇文章至少能对您有所帮助。

最好的, -冲刺

关于php - 无法获取缓存的 Kerberos 票证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43937852/

相关文章:

php - 当 Doctrine 查询加入时,setMaxResults 不能正常工作

PHP无法上传比它更高的目录中的文件

asp.net - IIS 7.5 Web 应用程序在应用程序池回收后的第一个请求非常慢

c# - 在 .NET 中使用 Windows 凭据进行 FTP 连接

php - 交响乐 3 : Debugging with Symfony's development server

php - 此功能是否有任何日期/时间可能会中断?

asp.net - 为IIS APPPOOL创建SQL Server登录-不同计算机上的IIS和SQL Server

ASP.NET应用程序异常导致IIS进程崩溃

hadoop - 问题 : Scala code in Spark shell to retrieve data from Hbase

hadoop - 在 Kerberos 数据库中找不到服务器