Linux OCI connection with Directory Naming Method (LDAP) failed with ORA-12154
Hello all,
With the OID directory naming, NAMES.DIRECTORY_PATH= (LDAP), we have two programs make the connection using OCIServerAttach().
One program (command_a) worked, but one (command_b) failed with error ORA-12154: TNS:could not resolve the connect identifier specified
However, both programs worked with local naming resolution NAMES.DIRECTORY_PATH= (TNSNAMES)
SQLNET.ORA CLIENT TRACE =
2014-10-14 15:09:39.011319 : nnflrne1:Quering the directory for dn: cn=ODRMT,cn=OracleContext
2014-10-14 15:09:39.011334 : nnflqbf:entry
2014-10-14 15:09:39.011347 : nnflqbf:Search: Attrs[0]: objectclass
2014-10-14 15:09:39.012322 : nnflqbf:Search: Base: cn=ODRMT,cn=OracleContext; Scope: 0; filter: (objectclass=*) returns 0x0
2014-10-14 15:09:39.012350 : nnflqbf:exit
2014-10-14 15:09:39.012365 : nnflgne:entry