Problem: TNS-03505: Failed to resolve name
We’re in the process of migrating from Oracle Names to LDAP, and found the following fairly trivial gotcha.
If you have a space between the word LDAP and the comma in the DIRECTORY_PATH, as below, then it won’t work
NAMES.DIRECTORY_PATH= ( LDAP , ONAMES, TNSNAMES)