Unlocking user account
search cancel

Unlocking user account

book

Article ID: 6904

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

User account was locked. I reset it. But it gets lock again. Now when I am trying to reset get following error message :

E03020002: The value for the following is invalid MAXAGE .
E03060003: Could not update 407 object in SCM Repository:

And user getting following:

Unable to log into broker <broker name>
E03020540: Your account is locked; you have exceeded the maximum number of the logon failure attempts.

Environment

Harvest Software Change Manager all versions and platforms

Cause

According to the password policy registered with Harvest using the "hppolset" command, if a user tries to login too many times with the wrong password, Harvest will lock the user account.  It must then be unlocked by a Harvest administrator.

Resolution

There are several ways for the Harvest Administrator to unlock a user account that has been locked:

  • The easiest would be for the Harvest Administrator to login to the Administrator Tool and click the "Users Groups" tab.  Locate the user with the locked account in the list, right click and select Properties.  From the Properties window, uncheck the "Locked" checkbox.
  • There is also a command line utility called "husrunlk".  If the Harvest Administrator does not have access to the Windows GUI Administrator Tool, this is an option that can be executed from a computer (Windows, Linux or Unix) that has the Harvest Command Line Utilities installed.  See the Command Line Reference Guide for details about how to execute this command.
  • If it is the Harvest Administrator's account that is locked, a SQL script has been provided that can be executed by the Harvest DBA in order to unlock the Administrator account.  See the Administrator Guide for details about this SQL script.

Additional Information

You can read more about the husrunlk command here: husrunlk Command-Unlock User

You can read more about the HUsrUnlk.sql script here: Administrate Users - Unlock User Accounts