AD To OID Sync Fails With [Root exception is java.net.ConnectException: Connection timed out] (Doc ID 433018.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.

Symptoms

Active Directory (AD) to Oracle Internet Directory (OID) synchronization process had been working until the Infrastructure server was restarted.

Now ActiveChgImp.trc file shows error connecting to AD server:

LDAP URL : (adserver.mycompany.com:389 cn=oidbind,dc=mycompany,dc=com
Specifying binary attributes: mpegvideo objectguid objectsid guid usercertificate
orclodipcondirlastappliedchgnum
LDAP CommuncationException javax.naming.CommunicationException: adserver.mycompany.com:389
[Root exception is java.net.ConnectException: Connection timed out]
adserver.mycompany.com:389
Reader initialization failed!
.
However, command line ldapbinds directly to same AD host/port work fine and consistently every time, i.e. the following ldapsearch works consiste:
ldapsearch -h adserver.mycompany.com -p 389 -D "cn=oidbind,dc=mycompany,dc=com"
-w <AD password> -b "" -s base "objectclass=*" highestCommittedUSN

So the connection timed out error only occurs for odisrv/sync.

Changes

DNS changes made and restarted infrastructure OID server.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms