Solved

Logon using Lsa API

Posted on 2001-06-05
8
267 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now