See Also: The "Entering Component Information" chapter in the Oracle Network Manager Administrator's Guide for more information about native naming.
native_names.use_native=true
native_names.directory_path=(dce)
The client's name requests will be resolved in DCE instead of by a local tnsnames.ora file.
1.3.22.1.5.1 TNS_Address char
dce.tns_address_oid=1.3.22.1.x.y
Note: Verify that the TNS_Address Object Identifier value in the cds_attributes file matches the value specified in the dce.tns_address_oid parameter in the protocol.ora file.
% dce_login cell_admin
% tnnfg dceload <pathname_to_TNSNAMES.ORA>
If you configure a new service, tnnfg adds it to tnsnames.ora.
financials=(DESCRIPTION=
(ADDRESS=
(PROTOCOL=DCE)
(SERVER_PRINCIPAL=oracle))
(CELL_NAME=us.oracle.com)
(SERVICE=financials)
(CONNECT_DATA=
(SID=financials))
where:
SERVICE_PRINCIPAL | is mandatory for the server and optional for the client |
SERVICE | is mandatory for both the server and the client |
SID | is the Oracle system identifier. It is mandatory for both servers and clients. SID is unique for each node and is not used in DCE. |
See Also: The Oracle7 Server Administrator's Guide and Understanding SQL*Net for information about operating system or network authentication.
ADDRESS=(PROTOCOL=DCE)
(SERVER_PRINCIPAL=server_name)
(CELL_NAME=cell_name)
(SERVICE=service_name))
where:
DCE | is the DCE RPC protocol. |
server_name | is mandatory for the server and optional for the client. It is mandatory in listener.ora and specifies the principal under which the server will start. It is optional in tnsnames.ora and specifies the principal of the server to which the client must connect. If not specified one-way, authentication is used. |
cell_name | is an optional field that specifies the DCE cell name of the database. If this parameter is not set, the cell name defaults to the local cell (useful for single-cell environments). It is not required if the SERVICE parameter specifies the complete path to the service. |
service_name | is the service registered with CDS (for the server). It is used to query CDS for the location of Oracle DCE servers (for the client). The default directory to store service names in CDS is /.../Cell_Name/subsys/oracle/service_registry. |
If you specify SERVICE=Service_Name, and CELL_NAME=Cell_Name is not specified, the cell name defaults to the local cell. (This method of specifying service names only works well in single-cell environments.)
If a client does not have access to DCE, DCE security is not available and the service name lookup uses tnsnames.ora, not the CDS name server.