Article
Problem
A Forum reader recently asked ...
We use a number of apps such as iFolder, GroupWise Messenger, and the GroupWise Client that authenticate via LDAP to eDirectory. This way, the user only has to remember one user ID and password. When users change their eDirectory passwords via the Novell Client, is there a way to make NSL aware that the user has changed the eDirectory password so NSL uses that password? Then they wouldn't have to manually update each NLS password for all the apps that authenticate this way.
Solution
Have you tried SysPassword?
Issue: If NDS password is changed via Taskmanager, *and* GW and/or GW notify is *not* running, this causes a password problem. The issue is that even though the password has been successfully changed in NDS, the NWGina returns the old NDS password to NSL and causes an error. The fix is ugly, requiring a logout/login of the PC.
Having said this most people will reset their password as part of the login process and won't have this issue.
Here is the GroupWise script I modified to work with LDAP login.
#===================
# Logon Prompt
#===================
Dialog
Ctrl #0 ".*GroupWise Startup"
Ctrl #1002
Ctrl #1003
Ctrl #1
EndDialog
#===========================================
# ?GWRunCount is used to detect invalid logons
#===========================================
Increment ?GWRunCount
If ?GWRunCount Gt "1"
MessageBox "Login Failure. If you just changed your LAN
password please restart your PC to synchronise the GroupWise password"
KillApp "grpwise.exe"
EndIf
#=============================================
# User must manually select connection to logon
# Username and Password entered
#=============================================
Click #1026
Type ?SysUser #1002
Type ?SysPassword #1003
#========================================================
# Uncomment the next command to have GW start automatically
# when commented it allows user selection of connection type
#========================================================
#Click #1
SetPrompt "Please enter your credentials to logon to GroupWise."
#=================================================
# GroupWise has started successfully (spinning globe)
#=================================================
Dialog
Ctrl #0 ".*GroupWise Startup"
Ctrl #1000
Ctrl #2
EndDialog
#======================================================
# Reset GWRunCount to "0" for use in bad password detection
#======================================================
Set ?GWRunCount "0"
#===================
# Normal Logon Prompt
#===================
Dialog
Title "GroupWise Password"
Ctrl #1003
Ctrl #1
EndDialog
Increment ?GWRunCount
#=====================================================
# If GWRunCount Gt "1" the user has failed to logon
# Prompt them to verify their credentials and retry logon
#=====================================================
If ?GWRunCount Gt "1"
MessageBox "Login Failure. If you just changed your LAN
password please restart your PC to synchronise the GroupWise password"
KillApp "grpwise.exe"
EndIf
#===========================
# Type the password and logon
#===========================
Type ?SysPassword #1003
Click #1
SetPrompt "Please enter your credentials to logon to GroupWise."
#==========================================
# Password Change Dialog - Enter New Password
#==========================================
Dialog
Title "Password"
Ctrl #11
Ctrl #12
Ctrl #13
Parent
Title "Security Options"
EndParent
EndDialog
#========================================================
# Ask the user if they would like to change their password
# If they do, prompt to change, otherwise do nothing
#========================================================
MessageBox "Would you like to change your GroupWise Password?" -YesNo
?GWResult
If ?GWResult Eq "Yes"
MessageBox "To change your GroupWise Password, please go through the
Ctrl-Alt-Del functionality and then select Change Password. Please
note: this will change your network password as well."
EndScript
Else
EndScript
EndIf
#===========================
# Additional Password Prompt
# Version 6.x
#===========================
Dialog
Ctrl #0 ".*GroupWise"
Ctrl #10
EndDialog
Type ?SysPassword #10
Click #1
#===========================
# Additional Password Prompt
# Version 5.5
#===========================
Dialog
Title "Enter Password"
Ctrl #10
EndDialog
Type ?SysPassword #10
Click #1 Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 3356 reads


0