针对NT4域的身份验证 [英] Authentication against NT4 domain

查看:70
本文介绍了针对NT4域的身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我想知道如何编写一些代码,以便能够对某个域控制器上的用户进行身份验证旧的NT4域名。


这个电话来自服务器或客户端机器,它甚至不一定是旧的NT4域的一部分。


这可能吗?如果是这样,有没有人有任何资源,链接,样品

代码? .NET框架中是否包含哪些类可以帮助

为此提供便利?

非常感谢,

-ZD

Hello,

I was wondering how I would go about writing some code that would be able to
authenticate a user atainst a Domain Controller on an old NT4 domain.

The call would be coming from a server or client machine that isn''t
necessarily even part of the old NT4 domain.

Is this possible? If so, does anybody have any resources, links, sample
code? Are there any classes included in the .NET framework that would help
facilitate this?
thanks very much,
-ZD

推荐答案

ZD,


我认为最简单的方法就是调用LogonUser

API函数。假设打电话的机器是你要认证的那个

域名的一部分,那不应该是一个问题。


希望这有助于。


-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com

" Z D" < NO **** @ NOSPAM.com>在消息中写道

news:uv ************** @ TK2MSFTNGP12.phx.gbl ...
ZD,

I think that the easiest way to do this would be to call the LogonUser
API function. Assuming that the machine making the call is part of that
domain you want to authenticate against, it shouldn''t be a problem.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Z D" <NO****@NOSPAM.com> wrote in message
news:uv**************@TK2MSFTNGP12.phx.gbl...
你好,

我想知道如何编写一些能够
的代码来验证旧版NT4域上域控制器的用户。

调用将是来自服务器或客户端机器,它甚至不一定是旧NT4域的一部分。

这可能吗?如果是这样,有没有人有任何资源,链接,样品代码? .NET框架中是否包含任何类,
有助于实现此目的?

非常感谢,
-ZD
Hello,

I was wondering how I would go about writing some code that would be able to authenticate a user atainst a Domain Controller on an old NT4 domain.

The call would be coming from a server or client machine that isn''t
necessarily even part of the old NT4 domain.

Is this possible? If so, does anybody have any resources, links, sample
code? Are there any classes included in the .NET framework that would help facilitate this?
thanks very much,
-ZD



嗨尼古拉斯,


您的回复。


不幸的是,正如我在我提到的那样发布,我将要制作的机器

来电不一定是旧NT域的一部分。这就是为什么我想b / b
想知道这种事情是否可行以及我怎么去

这样做...


谢谢

-ZD

Nicholas Paldino [.NET / C#MVP]" < mv*@spam.guard.caspershouse.com>写在

消息新闻:eh ************** @ TK2MSFTNGP10.phx.gbl ...
Hi Nicholas,

Thaks for your reply.

Unfortunately, as I mentioned in my post, the machine that I''ll be making
the call from wont necessarily be part of the old NT domain. This is why I
was wondering if this sort of thing would be possible and how I would go
about doing it...

thanks
-ZD
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:eh**************@TK2MSFTNGP10.phx.gbl...
ZD,
我认为最简单的方法是调用LogonUser
API函数。假设正在进行通话的机器是您想要进行身份验证的域名的一部分,那么这不应该是一个问题。

希望这会有所帮助。
-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse。 com

" Z D" < NO **** @ NOSPAM.com>在消息中写道
新闻:uv ************** @ TK2MSFTNGP12.phx.gbl ...
ZD,

I think that the easiest way to do this would be to call the LogonUser
API function. Assuming that the machine making the call is part of that
domain you want to authenticate against, it shouldn''t be a problem.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Z D" <NO****@NOSPAM.com> wrote in message
news:uv**************@TK2MSFTNGP12.phx.gbl...
你好,
我想知道如何编写一些代码
Hello,

I was wondering how I would go about writing some code that would be


能够

验证用户是否在旧版NT4域上对域控制器进行身份验证。

呼叫将来自服务器或客户端机器,它甚至不一定是旧NT4域的一部分。

这可能吗?如果是这样,有没有人有任何资源,链接,样品代码?是否有任何类包含在.NET框架中
authenticate a user atainst a Domain Controller on an old NT4 domain.

The call would be coming from a server or client machine that isn''t
necessarily even part of the old NT4 domain.

Is this possible? If so, does anybody have any resources, links, sample
code? Are there any classes included in the .NET framework that would


帮助

为此提供帮助?

非常感谢,
-ZD
facilitate this?
thanks very much,
-ZD




ZD,


抱歉,我没有'读得不对。在这种情况下,您将不得不在该域上拥有可以接受身份验证请求的内容。一个网站

服务浮现在脑海中......

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com


" ; Z D < NO **** @ NOSPAM.com>在消息中写道

新闻:uG ************** @ TK2MSFTNGP10.phx.gbl ...
ZD,

Sorry, I didn''t read that correctly. In this case, you will have to
have something on that domain which can take authentication request. A web
service comes to mind...
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Z D" <NO****@NOSPAM.com> wrote in message
news:uG**************@TK2MSFTNGP10.phx.gbl...
嗨尼古拉斯,
不幸的是,正如我在帖子中提到的那样,我将要制作的机器来电不一定是其中的一部分。旧的NT域名。这就是为什么
我想知道这种事情是否可能以及我将如何去做这件事......

感谢
-ZD

Nicholas Paldino [.NET / C#MVP]" < mv*@spam.guard.caspershouse.com>在消息新闻中写了
:eh ************** @ TK2MSFTNGP10.phx.gbl ...
Hi Nicholas,

Thaks for your reply.

Unfortunately, as I mentioned in my post, the machine that I''ll be making
the call from wont necessarily be part of the old NT domain. This is why I was wondering if this sort of thing would be possible and how I would go
about doing it...

thanks
-ZD
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:eh**************@TK2MSFTNGP10.phx.gbl...
ZD,
我认为最简单的方法是调用
LogonUser API函数。假设正在进行通话的机器是您想要进行身份验证的域名的一部分,那么这不应该是一个问题。

希望这会有所帮助。
-
- Nicholas Paldino [.NET / C#MVP]
- mv*@spam.guard.caspershouse。 com

" Z D" < NO **** @ NOSPAM.com>在消息中写道
新闻:uv ************** @ TK2MSFTNGP12.phx.gbl ...
ZD,

I think that the easiest way to do this would be to call the LogonUser API function. Assuming that the machine making the call is part of that
domain you want to authenticate against, it shouldn''t be a problem.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Z D" <NO****@NOSPAM.com> wrote in message
news:uv**************@TK2MSFTNGP12.phx.gbl...
你好,
我想知道如何编写一些代码
Hello,

I was wondering how I would go about writing some code that would be


能够

验证用户是否对某个用户进行了验证旧版NT4域上的域控制器。

呼叫来自服务器或客户端机器,它甚至不一定是旧NT4域的一部分。
<这可能吗?如果是这样,有没有人有任何资源,链接,
示例代码?是否有任何类包含在.NET框架中
authenticate a user atainst a Domain Controller on an old NT4 domain.

The call would be coming from a server or client machine that isn''t
necessarily even part of the old NT4 domain.

Is this possible? If so, does anybody have any resources, links, sample code? Are there any classes included in the .NET framework that would


帮助

为此提供帮助?

非常感谢,
-ZD
facilitate this?
thanks very much,
-ZD





这篇关于针对NT4域的身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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