My Oracle Support Banner

Tnsping Fails with "TNS-03505: Failed To Resolve Name" when trying to resolve database name in LDAP (Doc ID 2958225.1)

Last updated on JUNE 28, 2023

Applies to:

Oracle Forms for OCI - Version and later
Information in this document applies to any platform.


New installation of FMW trying to resolve the database name from the OID server. Configure ldap.ora and sqlnet.ora to lookup names using ldap fails.

The database name can be resolved using the tnsnames.ora, but not with the ldap.ora. The issue is present from both the tnsping command and from SqlPlus.

Tnsping fails with "TNS-03505: Failed to resolve name" error.

SqlPlus fails with "ORA-12154: TNS:could not resolve the connect identifier specified" error.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.