?
Solved

Logon using Lsa API

Posted on 2001-06-05
8
Medium Priority
?
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 86

Accepted Solution

by:
jkr earned 600 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

777 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