ASP.NET:模拟 VMWare 上的域
我需要在 VMWare 计算机上运行的 ASP.NET 应用程序中将自己模拟为域用户。 由于 VMWare 计算机本身不在域中,因此 ASP.NET 无法解析用户令牌(在 web.config 中指定)。 有没有办法做到这一点?
提前致谢, 彼得
I need to impersonate myself as a domain user in a ASP.NET application running on VMWare machine. Since the VMWare machine is not itself in the domain, ASP.NET is unable to resolve the user token (specified in web.config). Is there a way to do that?
Thanks in advance,
Petr
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我一直使用我写的这个类,它就像一个魅力!
然后您从客户端类中将其称为:
祝您好运!
I use this class I wrote all the time and it works like a charm!
Then you call it from the client class as:
Good Luck!
这可能是一个显而易见的愚蠢答案,但您可以将您的 VMWare 计算机添加到域中。
This may be the dumb obvious answer, but you could add your VMWare machine to the domain.