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
The Active Directory Account Collector does not collect the AD Domain Users Group in RSA Identity Governance & Lifecycle 223Number of Views How to change a request name generated though reviews in RSA Identity Governance and Lifecycle? 10Number of Views Z: Need to Finish: How to provision dynamic group memberships to a CA (Computer Associates) Directory using AFX in RSA Ide… 9Number of Views How to change a name of the change requests in RSA Identity Governance and Lifecycle 9Number of Views What happens when you exceed the maximum number of email recipients limits on email provider 3Number of Views
Trending Articles
How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device RSA-2026-10: RSA Authentication Manager Security Update for Third-Party Component Vulnerabilities RSA Authentication Manager 8.9 Release Notes (January 2026) Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA SecurID Desktop Token 5.0.3 for Windows Administrator's Guide
Don't see what you're looking for?