Solved

Trying to use GINA to process WIN2K smart card logon

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 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