UNIX v2 Endpoint Group Name Truncation Due to Incorrect Shell Prompt Configuration
search cancel

UNIX v2 Endpoint Group Name Truncation Due to Incorrect Shell Prompt Configuration

book

Article ID: 212457

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

When exploring a UNIX v2 endpoint in the Identity Manager Provisioning Manager, group names may appear truncated (e.g., "sloca" instead of "slocate"). Attempts to view the properties of these truncated objects result in the following error:

Connector Server Read failed: code 32 (NO_SUCH_OBJECT): failed on search operation.
Object [sloca] not found on the endpoint

This issue occurs when the Shell Prompt (Regexp) parameter in the UNIX v2 endpoint configuration is improperly defined, preventing the connector from correctly parsing the shell output.

Environment

Identity Manager 14.x

Cause

The Shell Prompt (Regexp) parameter is incorrectly configured. In regular expressions, the $ character is a reserved metacharacter that asserts the end of a line. If it is not explicitly escaped, it fails to match a literal $ character in the shell prompt (e.g., [admin@centos7 ~]$), leading to parsing errors.

Resolution

To resolve this, update the Shell Prompt (Regexp) value to ensure the $ character is properly escaped.

  1. Open the Provisioning Manager.
  2. Navigate to the UNIX v2 Endpoint configuration settings.
  3. Locate the Shell Prompt (Regexp) parameter.
  4. Update the parameter using the correct regular expression. For a standard prompt such as [admin@centos7 ~]$, use: \*\\\$( ) (This represents: Asterisk + Backslash + Dollar sign + Opening bracket + Space + Closing bracket) Note: The backslash \ escapes the $ symbol, allowing it to be treated as a literal character rather than a line-end assertion.
  5. Save the changes and re-run the Explore operation.