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 Embedded Entitlements Manager
/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.
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]
DEBUG 2021-05-12 11:17:49,141 [0x00000cb8] [eiam.server.ldap.ldaputil] LdapUtil::newLdapConnection: new connection established [name: AD, ldap: 000000000D282510, ldapUrl: ldap://ldap.example.com:389]
DEBUG 2021-05-12 11:17:49,151 [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,151 [0x00000cb8] [eiam.server.ldap.ldaputil] LdapUtil::closeConnection: closing ldap connection [ldap: 000000000D282510]
DEBUG 2021-05-12 11:17:49,152 [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,152 [0x00000cb8] [eiam.server.ldap.ldapconnector] LdapConnector::newConnection: failed to create ldap connection [name: AD, url: ldap://ldap.example.com:389]
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.
This time it should be successful.
Once everything is done, remove the enabled trace configuration in the server.xml