Solved

Validate User Credentials on Microsoft WinNT and Win95

Posted on 2001-08-20
8
301 Views
Last Modified: 2013-12-28
Hello!

I need to validate user on remote NT domain.
Does anyone have any suggestion how to do it?

MSDN suggest to use SSPI package, but i really do not understand the logic behind all this. Can anyone explain  this?


0
Comment
Question by:anyag
  • 4
  • 3
8 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6406382
Well, do you want to do that programmatically?
0
 

Author Comment

by:anyag
ID: 6406595
yes
0
 
LVL 86

Expert Comment

by:jkr
ID: 6407123
See http://support.microsoft.com/support/kb/articles/Q180/5/48.ASP ('HOWTO: Validate User Credentials on Microsoft WinNT and Win95')
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:anyag
ID: 6407246
I've read that already but i do not understand the whole procedure of client/server handshaking, why being client and server at the same time i can authenticate user this way? and why some for  domains that i succeed and for some not.
0
 
LVL 86

Expert Comment

by:jkr
ID: 6407475
>>I've read that already

Have you _tried_ it? If not, why did you reject my answer?
0
 

Author Comment

by:anyag
ID: 6408766
of cause i've tried it. (i took a title for my question from that article). i took sources from MSDN and fixed them so it will work in multithreaded environment. But i really whould like to understand what acctually going on there. MSDN does not explain, it just say  that it will work for authentication. Well it work sometimes and sometimes it does not, and i cannot find a problem 'cause i do not understand an algorithm or logic behind this piece of code
0
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 9734712
The link I posted contains code that does exactly what the title of the Q was.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
An article on effective troubleshooting
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question