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.
Identity Manager 14.x
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.
To resolve this, update the Shell Prompt (Regexp) value to ensure the $ character is properly escaped.
[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.