Solved

Logon using Lsa API

Posted on 2001-06-05
8
274 Views
Last Modified: 2010-04-02
I need to write logon mechanism to Win2K from remote machine using Lsa API and sockets.
How can I do it ?


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

Expert Comment

by:jkr
ID: 6156898
For the basics, see http://support.microsoft.com/support/kb/articles/Q102/7/16.asp ('User Authentication with Windows NT'). The details are described in http://msdn.microsoft.com/library/psdk/logauth/lsaauth_6e5q.htm ('Using LSA from a Logon Application'). You'll have to create an authenticaton package like discussed in http://msdn.microsoft.com/library/psdk/logauth/lsaauth_6cs3.htm ('Windows NT?Style Authentication Packages').

As a starting point, use http://msdn.microsoft.com/library/psdk/logauth/lsaauthpp_1rxh.htm ('LSA Authentication')
0
 

Author Comment

by:evgenus
ID: 6158633
Thanks, but I already read all these articles and I still have a lot of questions, for example - how to calculate user's response. My target is to logon via Lsa using existing authentication package - ntlm.

Thank you for help
0
 
LVL 3

Expert Comment

by:karouri
ID: 6160500
listening..
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 86

Accepted Solution

by:
jkr earned 200 total points
ID: 6160857
>>My target is to logon via Lsa using existing
>>authentication package - ntlm.

Well, in this case you could simply call 'LogonUser()'

0
 
LVL 86

Expert Comment

by:jkr
ID: 6163714
Why is that on 'pending delete' now?
0
 

Author Comment

by:evgenus
ID: 6163737
Hi jkr,

Sorry, I forgot tp accept it before deleting

Thanks
0
 

Author Comment

by:evgenus
ID: 6163738
Hi jkr,

Sorry, I forgot to accept it before deleting

Thanks
0
 
LVL 86

Expert Comment

by:jkr
ID: 6163753
Well, if you thought it'd be better to delete this one, you should just have left an explanation - that's why I asked...
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SetCurrentDirectory path limit 7 125
Cross compile release version of c++ program for linux 2 133
IdTCPClient1->Disconnect(); not working 3 67
Safe conversion? 4 69
When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

825 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