Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Validate User Credentials on Microsoft WinNT and Win95

Posted on 2001-08-20
8
Medium Priority
?
337 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
7 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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 300 total points
ID: 9734712
The link I posted contains code that does exactly what the title of the Q was.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

824 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