Solved

Logon using Lsa API

Posted on 2001-06-05
8
257 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
Comment Utility
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
Comment Utility
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
Comment Utility
listening..
0
 
LVL 86

Accepted Solution

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

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

0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 86

Expert Comment

by:jkr
Comment Utility
Why is that on 'pending delete' now?
0
 

Author Comment

by:evgenus
Comment Utility
Hi jkr,

Sorry, I forgot tp accept it before deleting

Thanks
0
 

Author Comment

by:evgenus
Comment Utility
Hi jkr,

Sorry, I forgot to accept it before deleting

Thanks
0
 
LVL 86

Expert Comment

by:jkr
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

743 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