Authentication against NT4 domain

  • Thread starter Thread starter Z D
  • Start date Start date
Z

Z D

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,

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.
 
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 said:
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]
- (e-mail address removed)


Z D said:
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,

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]
- (e-mail address removed)

Z D said:
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


message news:[email protected]...
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]
- (e-mail address removed)


Z D said:
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
 
Hi Nicholas,

Thanks again for your reply.

I did some searching and according to this article, the author says that the
"lpszDomain" parameter in the LogonUser API call can be used to specify the
name of a workstation/member server on the network for authentication
purposes.

http://authors.aspalliance.com/bdesmond/ArticleViewer.aspx?ArticleID=2


Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD



Nicholas Paldino said:
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]
- (e-mail address removed)

Z D said:
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


message news:[email protected]...
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]
- (e-mail address removed)


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,

Forgive me for this whole thread, my brain just isn't working right.
Yes, you can use the lpszDomain parameter to specify the domain. My
apologies.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Z D said:
Hi Nicholas,

Thanks again for your reply.

I did some searching and according to this article, the author says that the
"lpszDomain" parameter in the LogonUser API call can be used to specify the
name of a workstation/member server on the network for authentication
purposes.

http://authors.aspalliance.com/bdesmond/ArticleViewer.aspx?ArticleID=2


Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD



message news:[email protected]...
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]
- (e-mail address removed)

Z D said:
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]" <[email protected]>
wrote
in
message 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]
- (e-mail address removed)


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
 
Nicholas Paldino said:
ZD,

Forgive me for this whole thread, my brain just isn't working right.
Yes, you can use the lpszDomain parameter to specify the domain. My
apologies.

Don't be to hard on yourself, Nicholas. This sort of thing is bound to
happen every 11,000 posts or so.

Regards,
Daniel
 
Nicholas,

No worries! Thank's for taking the time to respond. I appreciate it very
much.

Thanks again.
-ZD


Nicholas Paldino said:
ZD,

Forgive me for this whole thread, my brain just isn't working right.
Yes, you can use the lpszDomain parameter to specify the domain. My
apologies.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Z D said:
Hi Nicholas,

Thanks again for your reply.

I did some searching and according to this article, the author says that the
"lpszDomain" parameter in the LogonUser API call can be used to specify the
name of a workstation/member server on the network for authentication
purposes.

http://authors.aspalliance.com/bdesmond/ArticleViewer.aspx?ArticleID=2


Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD



message news:[email protected]...
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]
- (e-mail address removed)

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


in
message 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]
- (e-mail address removed)


Hello,

I was wondering how I would go about writing some code that
would
 
Back
Top