Active Directory Account Collector fails with 'Naming Exception happened' in RSA Identity Governance & Lifecycle
Originally Published: 2015-06-29
Article Number
Applies To
RSA Version/Condition: All
Issue
A test of the collector fails as follows:
Collector test failed:
com.aveksa.server.runtime.ServerException: Test request failed with response: com.aveksa.server.runtime.ServerException: java.lang.RuntimeException
com.aveksa.server.runtime.ServerException: Test request failed with response: com.aveksa.server.runtime.ServerException: java.lang.RuntimeException
The following error is logged to the aveksaServer.log file. Note this error references a failure to connect to the referral server.
2015-06-22 17:01:03,662 INFO [com.aveksa.collector.accountdata.LdapAccountDataReader]
Naming Exception happened :
javax.naming.CommunicationException: Dohmen.com:389
[Root exception is java.net.ConnectException: Connection timed out]
at com.sun.jndi.ldap.LdapReferralContext.<init>(LdapReferralContext.java:92)
followed by:
2015-06-22 17:01:03,664 ERROR [com.aveksa.client.datacollector.framework.DataCollectorManager]
FAILED method=Collect
CollectionMetaInfo[{ID=98, run_id=1435010400534, collector_id=68, test-run=true, collector_name=Restat.net - ADC,
data_file=/home/oracle/jboss-4.2.2.GA/server/default/./deploy/aveksa.ear/aveksa.war/WEB-INF/LocalAgent/collected_data/98.data}]
java.lang.RuntimeException
Please refer to RSA Knowledge Base Article 000030327 -- Artifacts to gather in RSA Identity Governance & Lifecycleto find the location of the aveksaServer.log file for your specific deployment. The aveksaServer.log may also be downloaded from the RSA Identity Governance & Lifecycle user interface (Admin > System > Server Nodes tab > under Logs.)
Cause
This failure occurs if the Account Collector attempts to follow an LDAP referral and one of the following occurs:
- The Account Collector cannot bind successfully (connect) to the Microsoft AD domain controller (referral server) returned in the referral request. The failure to bind may be because the domain controller returned in the referral is not reachable from the RSA Identity Governance & Lifecycle server location, or because the bind information used for the secondary domain controller (referral server) does not match the bind information used for the primary.
- Not all AD domains will return referral information which is why this issue may occur on some AD domains and not on others.
- It is also possible for only certain LDAP queries to generate a referral.
Resolution
- RSA Identity Governance & Lifecycle 6.8.1 P10
- RSA Identity Governance & Lifecycle 6.9.0 P02
- RSA Identity Governance & Lifecycle 6.9.1 P02
- RSA Identity Governance & Lifecycle 7.0.0
Most often the intent is to bind to a single domain controller, and only return results from that domain. The attempt to follow referrals is unintended and undesired. In order to successfully follow referrals in an AD domain, the bind account used for the LDAP connection must be the same for all domains, which typically is not practical.
To prevent LDAP referrals, configure the RSA Identity Governance & Lifecycle Account Collector to ignore referrals. In the user interface go to Collectors > Account Collectors > {AD Collector name} > General tab > Edit > Next (Connection information). Check the Ignore Referral checkbox.
Workaround
Related Articles
After successful Account data collection, Custom Account Integer Attribute value is not displaying under Accounts tab in R… 21Number of Views AFX fails to create and/or update an Active Directory account with an 'Unparseable date' error in RSA Identity Governance … 290Number of Views Collector circuit breaker tripped by rejections in RSA Via Lifecycle and Governance 258Number of Views How to update an Active Directory Account Attribute to have no value <not set> using an Active Directory AFX Connector in … 120Number of Views How to exclude RSA Authentication Manager 8.x from picking up disabled user account data from the Microsoft LDAP directory 160Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle
Don't see what you're looking for?