Re: How to Validate User Credentials on Windows 2000 OS?
- From: "Alex Fedotov" <me@xxxxxxxxxxxxxxx>
- Date: Wed, 15 Feb 2006 14:49:10 -0800
Asif Bhimla wrote:
I have tried this link out, but it is not working. Actually the code seems to
be not working. Here is the code which i had use:
[...]
Can you please check this code out?
This code tries to enable the SE_TCB_NAME privilege, which is likely worthless since this privilege is normally not granted to any user account (and it should not be granted). On the other hand, in Windows 2000, LogonUser requires this privilege. The net result is that you cannot use LogonUser on Windows 2000 except from the code running as LocalSystem.
I am not sure which link you tried out, but the one I provided suggests using SSPI instead of LogonUser for Windows NT 4.0/2000. You probably read some other article.
Let me repeat:
http://support.microsoft.com/default.aspx?scid=kb;en-us;180548
Please read it carefully, it answers exactly your question: how to validate user credentials in Windows 2000.
-- Alex Fedotov
.
- References:
- Re: How to Validate User Credentials on Windows 2000 OS?
- From: Alex Fedotov
- Re: How to Validate User Credentials on Windows 2000 OS?
- From: Asif Bhimla
- Re: How to Validate User Credentials on Windows 2000 OS?
- Prev by Date: Patch XP Home SP1 advapi32.dll
- Next by Date: WlxDialogBox during WlxDisplaySAS problem
- Previous by thread: Re: How to Validate User Credentials on Windows 2000 OS?
- Next by thread: RE: 2003 Certificate Authority - Custom Policy module
- Index(es):
Relevant Pages
|