CA Harvest SCM User account is locked

Document ID : KB000006904
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

User account was locked. I reset it. But it get 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 enterprise-2
E03020540: Your account is locked; you have exceeded the maximum number of the logon failure attempts.

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.  CA the Administrator Guide for details about this SQL script.
Additional Information:

You can read more about the husrunlk command here: https://docops.ca.com/ca-harvest-scm/13-0/en/command-reference/get-started-with-ca-harvest-scm-commands/husrunlk-command-unlock-user

You can read more about the HUsrUnlk.sql script here: https://docops.ca.com/ca-harvest-scm/13-0/en/administrating/users#Users-UnlockUserAccounts