Solved

Trying to use GINA to process WIN2K smart card logon

Posted on 2003-10-31
5
557 Views
Last Modified: 2013-12-03
Hi,
    As you know, while the logon dialog is being displayed and a smart card is inserted into the reader, a PIN verification dialog will popup. I want my GINA to take over the following processes after the user input his PIN and click OK. How can I do that?
    By the way, I used Resource Tuner to check MSGINA.DLL, I failed to find the PIN verification dialog.

    Thanks a lot!

    Gunther
   
0
Comment
Question by:HGunther
[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
  • 3
  • 2
5 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 9663755
0
 

Author Comment

by:HGunther
ID: 9673411
Dear jkr
    I'd like to know if Ctrl-Alt-Delete is controlled by Winlogon or MSGINA? What messages are passing by between Winlogon and GINA? Please give more info. Thanks!
0
 
LVL 86

Accepted Solution

by:
jkr earned 250 total points
ID: 9674174
Hm, the above links already cover these issues, see e.g. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/sending_messages_to_the_gina.asp

Sending Messages to the GINA

Winlogon sends messages to the GINA while dialog boxes are displayed. These messages are all encapsulated in the WLX_WM_SAS message as follows:

SAS type in wParam parameter Description
WLX_SAS_TYPE_CTRL_ALT_DEL Indicates that a CTRL+ALT+DEL key sequence was received.
WLX_SAS_TYPE_SC_INSERT Indicates that a smart card has been inserted into a compatible device.
WLX_SAS_TYPE_SC_REMOVE Indicates that a smart card has been removed from a compatible device.
WLX_SAS_TYPE_USER_LOGOFF Indicates that a user requested log-off.
WLX_SAS_TYPE_SCRNSVR_TIMEOUT Indicates that the screen saver should be run due to lack of user input.
WLX_SAS_TYPE_TIMEOUT Indicates that no user input was received within the specified time-out period.

0
 

Author Comment

by:HGunther
ID: 9675154
jkr,
    Thanks for your quick response! Could you please tell me in what GINA functions these events should be processed and how to process generally?
0
 
LVL 86

Expert Comment

by:jkr
ID: 9680315
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 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