Solved

Trying to use GINA to process WIN2K smart card logon

Posted on 2003-10-31
5
556 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
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

772 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