How to verify Database Connection to LDAP Server ?
ldapbind -h [OIDServer] -p [OID_Port] -D “[ORACLE.SECURITY.DN]” -w [ORACLE.SECURITY.PASSWORD] (OID 11g default LDAP port is 3060 and for OID 10g default LDAP port is 389 ) like ldapbind -h OID_Server -p 3060 -D “cn=DB1,cn=OracleContext,dc=mydomain,dc=com” -w abBP2X7 In my case I received error message ldap_bind: Invalid credentials ldap_bind: additional info: Password Policy Error :9000: GSL_PWDEXPIRED_EXCP :Your Password has expired. Please contact the Administrator to change your password. OID by default comes with default password policy cn=default,cn=pwdPolicies,cn=common,cn=products,cn=oracleContext,DC=DOMAIN with pwdMaxAge set to 10368000 (120 days). Fix : Now we know root cause of issue so fix is to Fix1 (Short Term): Go to OID and update password for cn=DB1,cn=OracleContext,dc=mydomain,dc=com at attribute userPassword with value received from ORACLE.SECURITY.PASSWORD Fix2 (Long Term): Go to OID and update password policy to not expire password by setting attribute pwdMaxAge to