Configuring EEM servers with an external userstore (LDAP) using the same bind credentials that work on other EEM servers, does not seem to work. Normally a Green Check mark (success) on the userstore status, but it shows up with Red X (bind failed)
Workload Automation AutoSys (all releases)
CA Service Management (all releases)
/opt/CA/SharedComponents/EmbeddedEntitlementsManager/config/logger/server.xml (or C:\Program Files\CA\SharedComponents\EmbeddedEntitlementsManager\config\logger\server.xml)
<logger name="eiam.server.ipoz" additivity="false"><level value="trace"/><appender-ref ref="ipoz" /></logger><logger name="eiam.server" additivity="false"><level value="trace"/><appender-ref ref="server" /></logger><logger name="eiam.server.ldap" additivity="false"><level value="trace"/><appender-ref ref="ldap" /></logger><logger name="eiam.server.performance" additivity="false"><level value="trace"/><appender-ref ref="performance" /></logger>
Before change:<param name="maxFileSize" value="10000KB" /><param name="maxBackupIndex" value="1" />After change:<param name="maxFileSize" value="10000KB" /><param name="maxBackupIndex" value="10" />
NOTE - to restore normal logging after tracing is collected, change the "level value" tag value back to "info" in each of the sections mentioned above.
Work with LDAP admins to make sure the bind account above is allowed to connect to LDAP server above and then resave the LDAP user store info in EEM.
ldap.log file may contain content such as this:
DEBUG 2021-05-12 11:17:49,116 [0x00002884] [eiam.server.ldap.ldaputil] LdapUtil::newConnection: failed to create ldap connection [name: AD, ldapurl: ldap://ldap.example.com:389, binddn: CN=AUTOSYS_LDAP_USER,OU=Service Accounts,OU=Services,OU=Managed Users,DC=example,DC=com]DEBUG 2021-05-12 11:17:49,116 [0x00002884] [eiam.server.ldap.ldapconnector] LdapConnector::newConnection: failed to create ldap connection [name: AD, url: ldap://ldap.example.com:389]DEBUG 2021-05-12 11:17:49,130 [0x00000cb8] [eiam.server.ldap.ldaputil] LdapUtil::newLdapConnection: new connection established [name: AD, ldap: 000000000D282BA0, ldapUrl: ldap://ldap.example.com:389]DEBUG 2021-05-12 11:17:49,140 [0x00000cb8] [eiam.server.ldap.ldaputil] LdapUtil::newLdapConnection: bind failed [name: AD, ldapurl: ldap://ldap.example.com:389, rc: 49, error: Invalid credentials]DEBUG 2021-05-12 11:17:49,140 [0x00000cb8] [eiam.server.ldap.ldaputil] LdapUtil::closeConnection: closing ldap connection [ldap: 000000000D282BA0]DEBUG 2021-05-12 11:17:49,140 [0x00000cb8] [eiam.server.ldap.ldaputil] LdapUtil::newConnection: failed to create ldap connection [name: AD, ldapurl: ldap://ldap.example.com:389, binddn: CN=AUTOSYS_LDAP_USER,OU=Service Accounts,OU=Services,OU=Managed Users,DC=example,DC=com]DEBUG 2021-05-12 11:17:49,140 [0x00000cb8] [eiam.server.ldap.ldapconnector] LdapConnector::newConnection: failed to create ldap connection [name: AD, url: ldap://ldap.example.com:389]
In the above, the account is the same on another EEM server and that EEM server is working fine. However, the highlighted entries show that LDAP admins are preventing connections from the new EEM server due to "invalid credentials".
Please take backups of the existing files before making any changes.
For other logging/tracing options, please see: EEM/EIAM Logging options