Tag Archives: Explain TNSNAMES

NAMES.DIRECTORY_PATH Parameter use in SQLNET.ORA in Oracle

NAMES.DIRECTORY_PATH Parameter use in SQLNET.ORA in Oracle

USe of NAMES.DIRECTORY_PATH parameter in SQLNET.ora is to specified the order of the naming method used for client name resolution.

Default value in order is NAMES.DIRECTORY_PATH=(tnsnames, ldap, ezconnect)

Naming Method value and description
TNSNAMES : Local Naming Method set to resolve the service name with tnsnames.ora file
LDAP : Directory Naming Method set to resolve the service name with a directory server.
EZCONNECT : Easy Connect Naming Method set to resolve with tcp/ip connect identifier with hostname, port number and service name.
NIS : External naming method set to resolve service name with NIS ()National Information Service)

Example of use only tnsnames entries

NAMES.DIRECTORY_PATH=(tnsnames)