Logon using Lsa API

I need to write logon mechanism to Win2K from remote machine using Lsa API and sockets.
How can I do it ?


evgenusAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jkrConnect With a Mentor Commented:
>>My target is to logon via Lsa using existing
>>authentication package - ntlm.

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

0
 
jkrCommented:
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
 
evgenusAuthor Commented:
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
karouriCommented:
listening..
0
 
jkrCommented:
Why is that on 'pending delete' now?
0
 
evgenusAuthor Commented:
Hi jkr,

Sorry, I forgot tp accept it before deleting

Thanks
0
 
evgenusAuthor Commented:
Hi jkr,

Sorry, I forgot to accept it before deleting

Thanks
0
 
jkrCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.