Invalid Credentials when logging into Harvest SCM via LDAP
search cancel

Invalid Credentials when logging into Harvest SCM via LDAP

book

Article ID: 448316

calendar_today

Updated On:

Products

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

Issue/Introduction

Harvest administrator is able to login to Harvest Workbench and Admin tool using an LDAP account, but other users are not successful. Error message returns "Invalid Credentials". After several attempts, the LDAP account gets locked out, confirming that LDAP rejects the authentication.

Environment

CA Harvest Software Change Manager

LDAP / Active Directory

Cause

Authentication succeeds for some users but fails for others when LDAP server rules, attribute mismatches, or search filter restrictions prevent specific accounts from being validated. Since the account locks out in LDAP, the Harvest Broker is successfully communicating with the LDAP server, but the server rejects the provided credentials for those specific users.

Resolution

Follow these steps to identify the discrepancy between working and non-working accounts:

  1. Use the hauthtst utility from the Harvest broker machine to test authentication for a failing user independently of the broker.
  2. Verify that failing users reside within the Organizational Unit (OU) specified in the -ldapbasedn parameter in the HServer.arg file.
  3. Confirm the -ldapattrusrname attribute in HServer.arg (typically sAMAccountName) matches the format users enter during login.
  4. Review LDAP server security logs for error code 49 to identify specific subcodes (e.g., 52e for invalid credentials, 533 for disabled account).
  5. Compare LDAP object attributes of a working user against a failing user to identify missing or restricted attributes.

Additional Information

See also:

Converting Harvest from Internal to LDAP authentication

E0302010f: Cannot connect to authentication server: Invalid credentials.

hauthtst Command-Authentication Server API Test

Building a Hauthtst Command from HServer.arg