I have written a C++ Component using ATL COM Wizard.
The component task is to authenticate user.
The user will enter the username and password from ASP page.
The component will validate the user by using SAM(Security Accounts Manager) of WINNT.
Hence , I do not have any USER Table in my database.
I tried with LogonUser() API. But , I get invalid username and password error.
I then tried to use LsaLogonUser() API. But, it fails saying that MSV1_0_INTERACTIVE_LOGON is invlaid though I have included <ntsecapi.h>.
I tried using ADSI yet it also failed.
Please help me as how should go about doing this