如何以编程方式清除Kerberos票证缓存 [英] How to programmatically clear the Kerberos ticket cache

查看:525
本文介绍了如何以编程方式清除Kerberos票证缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何使用托管的\ unmanegdd代码清除本地计算机上的Kerberos票证缓存吗?

Does anyone know how to clear out the Kerberos ticket cache on the local computer - using managed \ unmanaegd code?

提前谢谢!

推荐答案

我相信您需要致电KERB_PURGE_TKT_CACHE_REQUEST "rel =" noreferrer> LsaConnectUntrusted 或 LsaRegisterLogonProcess .抱歉,没有具体信息,但是我没有关于此的代码...

I believe you need to do a call to LsaCallAuthenticationPackage using KERB_PURGE_TKT_CACHE_REQUEST after using either LsaConnectUntrusted or LsaRegisterLogonProcess. Sorry no specifics, but I don't have my code for this around...

这篇关于如何以编程方式清除Kerberos票证缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆