Re: tnsnames.ora file maintenance

  • From: Yechiel Adar <adar666@xxxxxxxxxxxx>
  • Date: Tue, 03 Mar 2009 22:55:42 +0200

Since it works as ldap you just say in SQLNET.ORA:
NAMES.DIRECTORY_PATH= (TNSNAMES,LDAP)
This way, if there is no tnsnames.ora or the name is not in tnsnames.ora, sqlnet will try the LDAP. This gives you the best of two worlds, including the ability to put in the local tnsnames.ora only the entries you want to override or test instead of all the entries.

Adar Yechiel
Rechovot, Israel



Sais, Gene wrote:

I prefer to set the TNS_ADMIN variable to a common directory. If someone wants to use their own tnsnames, they can delete the TNS_ADMIN environment variable. Otherwise, everyone shares the same tnsnames.ora file. The tnsnames.ora file gets updated infrequently and when it does, it gets distributed to the desktops upon login.

Other related posts: