By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,541 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

Authentication against NT4 domain

P: n/a
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
Nov 20 '05 #1
Share this Question
Share on Google+
10 Replies


P: n/a
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 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

Nov 20 '05 #2

P: n/a
Z D
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,

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
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


Nov 20 '05 #3

P: n/a
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...
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,

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

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



Nov 20 '05 #4

P: n/a
Z D
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/bdesm...px?ArticleID=2
Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uo**************@TK2MSFTNGP11.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...
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,

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

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
>
>



Nov 20 '05 #5

P: n/a
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]
- mv*@spam.guard.caspershouse.com

"Z D" <NO****@NOSPAM.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
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/bdesm...px?ArticleID=2
Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:uo**************@TK2MSFTNGP11.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...
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,
>
> 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 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
> >
> >
>
>



Nov 20 '05 #6

P: n/a
Z D
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/bdesm...px?ArticleID=2
Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uo**************@TK2MSFTNGP11.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...
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,

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

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
>
>



Nov 20 '05 #7

P: n/a

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uH**************@TK2MSFTNGP12.phx.gbl...
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
Nov 20 '05 #8

P: n/a
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]
- mv*@spam.guard.caspershouse.com

"Z D" <NO****@NOSPAM.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
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/bdesm...px?ArticleID=2
Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:uo**************@TK2MSFTNGP11.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...
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,
>
> 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 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
> >
> >
>
>



Nov 20 '05 #9

P: n/a

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uH**************@TK2MSFTNGP12.phx.gbl...
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
Nov 20 '05 #10

P: n/a
Z D
Nicholas,

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

Thanks again.
-ZD
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uH**************@TK2MSFTNGP12.phx.gbl...
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]
- mv*@spam.guard.caspershouse.com

"Z D" <NO****@NOSPAM.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
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/bdesm...px?ArticleID=2
Is this correct? Or does that only work if the caller is still part of the
domain?

Thanks
-ZD

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

in
message news:uo**************@TK2MSFTNGP11.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...
> 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,
> >
> > 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 > 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
> > >
> > >
> >
> >
>
>



Nov 20 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.