SecureLogin does not automatically login the user to Lotus Notes

  • 3930724
  • 22-Jan-2007
  • 25-May-2012

Environment

Novell SecureLogin 3.51.009
IBM Lotus Notes R5
IBM Lotus Notes R6
IBM Lotus Notes R6.5

Situation

SecureLogin does not automatically login the user to Lotus Notes
Message box appears, "Novell SecureLogin is logging into Lotus Notes"


Message box titled "Novell SecureLogin/Lotus Notes" appears


Lotus Notes login / authentication dialog appears, requiring credential to be entered


After applying this script, the two messages boxes described above still appear. The user must click "OK" to clear the boxes, and the user is then logged in to Lotus Notes.
After applying the script, the behavior is unchanged - NSL still does not login to Lotus Notes.

Resolution

Apply the following script by copying and pasting it into the NSL application script for Lotus Notes. Remove any line wraps.
NSLasst.dll is needed only while migrating from older NSL versions (which used Pronotes.dll). After the migration is complete, delete (or rename) the NSLasst.dll (in the Notes directory), and/or remove the reference from notes.ini. This will eliminate the two message boxes.


Refresh the NSL cache. This is done by right-clicking the SecureLogin (hand) icon in the system tray, selecting "Advanced," then "Refresh Cache." Then, stop and restart NSL.


Additional Information

Incorrect script information.
This is caused by the operation of NSLAssist.dll.
The NSL cache has not been refreshed, and still contains the incorrect script data for Lotus Notes.
#======================================
# Application Name: nlnotes.exe
# Application Description: Lotus Notes 5 & 6
#
# Date Created: 31st MAY 2004
# Date Modified:
#======================================
# Notes 6
#-----------------------------------------------------------------------------
# Manual Change Password Prompt for Notes 6
#-----------------------------------------------------------------------------
Dialog
Ctrl #0 "Change Password"
Class "#32770"
Ctrl #65535 "Change Your Password"
Ctrl #20 "&No Password"
Ctrl #280
Ctrl #283
Ctrl #2185 "&Enter new password"
Ctrl #2186 "&Re-enter new password"
Ctrl #2184
Ctrl #2197
Ctrl #65535
Ctrl #1 "OK"
Ctrl #2 "Cancel"
EndDialog

OnException ChangePasswordCancelled Call ChgePwdCan6
ChangePassword ?NewPass
Type ?NewPass #280
Delay 50
Type ?NewPass #283
Click #1

Dialog
Ctrl #0 "Lotus Notes"
Class "#32770"
Ctrl #65535 "Your password change succeeded!"
EndDialog

Set $Password ?NewPass
Click #2

#----------------------------------------------------------
# Incorrect Login Prompt for Notes 6
#----------------------------------------------------------
Dialog
Ctrl #0 "Lotus Notes"
Class "#32770"
Ctrl #65535 "Wrong password(.*)"
Ctrl #21 "&Recover Password"
EndDialog

Click #1
DisplayVariables "You have supplied an incorrect password, please re-enter the correct password." $Password
SetPrompt "Notes Password:"
Type -Raw $Password
Type -Raw "\N"


#--------------------------------------------
# Login Prompt for Notes 6
#--------------------------------------------
Dialog
Ctrl #0 "Lotus Notes"
Class #32770
Ctrl #280
Ctrl #224
EndDialog

If -Exists $Username
Else
ReadText #224 $Username
If $Username Eq ""
ReadText #218 $Username
EndIf
EndIf

SetPrompt "Notes Password :"
Type $Password #280
Click #1
SetPrompt "Please enter your correct Lotus Notes password."


#----------------------------------------------------------------------------

# Notes 5
#----------------------------------------------------------------------------
# Manual Change Password Prompt for Notes 5
#----------------------------------------------------------------------------
Dialog
Ctrl #0 "Set Password"
Class #32770
Ctrl #1 "OK"
Ctrl #2 "Cancel"
Ctrl #311 "Enter your new password:"
Ctrl #301
Ctrl #312 "(Passwords are case sensitive)"
Ctrl #313 "A minimum password length of 8 characters is strongly recommended."
EndDialog

If ?RunSetPwdBefore Eq "Yes"
Type ?NewPass #301
Set ?RunSetPwdBefore "No"
Click #1
Set $Password ?NewPass
# If ?PassExpired Eq "Yes"
# Type -Raw "\N"
# Set ?PassExpired "No"
# EndIf
Else
OnException ChangePasswordCancelled Call ChgePwdCan5
ChangePassword ?NewPass
Set ?OldPassword $Password
Type ?NewPass #301
Click #1
Set ?RunSetPwdBefore "Yes"
EndIf

#---------------------------------------------------------
# Incorrect Login Prompt for Notes 5
#---------------------------------------------------------
Dialog
Title "Lotus Notes"
Class "#32770"
Ctrl #65535 "Wrong Password(.*)"
Ctrl #20
Ctrl #2 "OK"
EndDialog

Click #2
DisplayVariables "You have supplied an incorrect password, please re-enter the correct password." $Password
SetPrompt "Notes Password:"
Type -Raw $Password
Type -Raw "\N"


#--------------------------------------------
# Login Prompt for Notes 5
#--------------------------------------------
Dialog
Ctrl #0 "Enter Password"
Class #32770
Ctrl #221 "Enter the password for(.*)"
EndDialog

Set ?RunSetPwdBefore "No"

If -Exists $Username
Else
ReadText #221 ?TempVar
RegSplit "Enter the password for (.*)" ?TempVar $Username
EndIf

SetPrompt "Notes Password:"
Type $Password #301
Click #1
SetPrompt "Please enter your Lotus Notes password."


#------------------------------------------------------------------------------------

#------------------------------------------------------------------------------------
# Subroutine to handle cancelled password changes
#------------------------------------------------------------------------------------
Sub ChgePwdCan6
Delay 10
Type -Raw "\|27"
Delay 10
Type -Raw "\|27"
Delay 10
Type -Raw "\|27"
ClearException ChangePasswordCancelled
EndScript
EndSub

Sub ChgePwdCan5
Delay 10
Type -Raw "\|27"
Delay 10
Type -Raw "\|27"
ClearException ChangePasswordCancelled
EndScript

.

Formerly known as TID# 10093826