SecureLgoin enters username incorrectly on AZERTY keyboard

  • 7015174
  • 11-Jun-2014
  • 01-Jul-2014

Environment

Novell SecureLogin
NetIQ SecureLogin
NSL 6.x
NSL 7.x
NSL 8.x

Situation

SecureLogin enters username incorrectly for users with AZERTY keyboard
Numbers in username are entered as punctuation and control characters
Problem only occurs for users with non-English AZERTY keyboard
Problem only occurs for users with numbers in their username

Resolution

Modify the “type username” section(s) of the application definition script to turn on the caps lock before entering the username.  Turn the caps lock off after entering the username.  (If the application was created by the SecureLogin wizard first convert it to “application definition” format.)

See the following Notepad.exe  script as an exmple:

# Script type: Windows 
# Script id: notepad.exe 

Dialog 
   Class "Notepad" 
   Title "Untitled - Notepad" 
EndDialog 

# -------------------------------------------------------
# Read from the registry to see which keyboard is active
# -------------------------------------------------------

GetReg "HKCU\Keyboard Layout\Preload\1" ?reg

# ----------------------------------------------------------------------------
# Verify registry value has been read. Uncomment for troubleshooting
# ----------------------------------------------------------------------------
# Type ?reg
# Type \n 

# ----------------------------------------------------------------------------------------------
# If AZERY keyboard is active, toggle Caps Lock with Type \|20
# Edit for value corresponding to the keyboard. In this example, 813 = Belgian Dutch Keyboard.
# ----------------------------------------------------------------------------------------------


If ?reg EQ 00000813 
  type \|20         
  type $username
  type \|20     
Else
  type $username
EndIf