heres dump on nis from otn which may be of help:-
Network Information Service (NIS)
Organizations and corporations already using NIS as part of their systems infrastructure have the option to store net service names and addresses in NIS, using NIS external naming.
When a user gives a command such as
sqlplus scott/tiger@payroll
(where payroll is an Oracle service) NIS external naming on the node running the client program (or database server acting as a client program) contacts an NIS server located somewhere in the network, and passes the net service name to the NIS server. The NIS server resolves the net service name into a Oracle Net address and returns this address to the client program (or server acting as a client program). The client program then uses this address to connect to the Oracle database.
A computer that acts as an NIS server runs a program called ypserv, which handles name requests. The ypserv program stores different types of data in special files called maps. For example, passwords are stored in a map called passwd.byname. Oracle database service names are stored in a map called tnsnames.
When a user issues a connect string, NIS external naming uses an RPC call to contact the ypserv program and passes the Oracle net service name payroll and the name of the map--tnsnames. The ypserv program looks in the tnsnames map for the name payroll and its corresponding value, which is the address for the net service name. The address is returned to the client, and the client program (or server acting as a client program) uses this address to contact the database server.
Task 1: Configure NIS Servers to Support the NIS External Naming
Before configuring servers to support the NIS external naming, make sure that NIS is configured and running on the NIS servers that need to resolve Oracle database net service names. Consult your NIS documentation for specifics.
Adding the "tnsnames" Map to the Existing Set of NIS Maps
To add the tnsnames map to the existing set of NIS maps:
Create a tnsnames.ora file, as specified in "Configuring the Local Naming Method".
--------------------------------------------------------------------------------
Note:
Keep a copy of the tnsnames.ora file, preferably in $ORACLE_HOME/network/admin directory. You may need to use this file again later to load net service names into the NIS map.
--------------------------------------------------------------------------------
Convert the contents of the tnsnames.ora file to a tnsnames map using the tns2nis program.
--------------------------------------------------------------------------------
Note:
The tns2nis program is supplied with NIS External Naming on the Oracle Universal Installer tape or disk.
--------------------------------------------------------------------------------
For example, run tns2nis on the command line with one argument:
tns2nis tnsnames.ora
The tns2nis program reads the tnsnames.ora file from the current directory. (If tnsnames.ora file is not located in the current directory, you can use a full path name to specify its location--for example, /etc/tnsnames.ora or $ORACLE_HOME/network/admin/tnsnames.ora).
The "tnsnames" map is then written into the current working directory.
Copy tnsnames to the NIS server, if it is not already there.
Install the tnsnames map using makedbm, which is an NIS program.
--------------------------------------------------------------------------------
Note:
This step should be performed by the person in charge of NIS administration.
--------------------------------------------------------------------------------
The makedbm program converts the tnsnames map into two files that the NIS server can read. The location of these files is operating system specific.
See Also:
Oracle operating system-specific documentation for details
For example, to generate and install a tnsnames map on the Solaris Operating System, as the root user, enter the following at the command line:
# makedbm tnsnames /var/yp/'domainname'/tnsnames
Verifying that the "tnsnames" Map Has Been Properly Installed
You can test the NIS server to see if the map has been installed properly by typing a command with the format:
ypmatch net_service_name tnsnames
For example, you might enter:
ypmatch payroll.com tnsnames
This returns the length of the address (in characters) followed by the address; for example:
99 (description=(address=(protocol=tcp)
(host=garlic)(port=1999)))
(connect_data=(service_name=dirprod)))
Task 2: Configure Clients
To configure clients, configure NIS as the first method specified in the NAMES.DIRECTORY_PATH parameter in the sqlnet.ora file. This parameter specifies the order of naming methods Oracle Net can use to resolve connect identifiers to connect descriptors.
Start Oracle Net Manager.
See Also:
"Starting Oracle Net Manager"
In the navigator pane, expand Local > Profile.
From the list in the right pane, select Naming.
Click the Methods tab.
From the Available Methods list, select NIS, and then click the right-arrow button.
In the Selected Methods list, select NIS, and then use the Promote button to move the selection to the top of the list.
Choose File > Save Network Configuration.
The sqlnet.ora file updates with the NAMES.DIRECTORY_PATH parameter, listing nis first:
NAMES.DIRECTORY_PATH=(nis, hostname, tnsnames)
Sy UK