Solved

Logon using Lsa API

Posted on 2001-06-05
8
285 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
Independent Software Vendors: 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!

 
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

726 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