PreviousNext

Host Service Naming in Applications

Applications include a host service name as input to the dced binding routine dced_binding_create( ). A host service name is a string that may include a host name, or a cell and host name. The following key words in the host service name refer to a specific DCE host service:

hostdata
Refers to configuration data of the hostdata management service.

srvrconf
Refers to the static server configuration portion of the server management service. This refers to the management of a DCE-installed server.

srvrexec
Refers to the dynamic server execution portion of the server management service. This refers to the management of a running DCE-installed server.

secval
Refers to the security validation service.

keytab
Refers to the private key data of the key table management service.

The following examples show service names and the locations of the hosts in the namespace:

service
The host is local, the same as the application's.

service@hosts/host
The host is in the local namespace.

/.:/hosts/host/config/service
The complete specification for service@hosts/host where the host is in the local namespace.

/.../cell/hosts/host/config/service
The host is in the global namespace.

Since the dced_binding_from_rpc_binding( ) routine already knows which host to bind to from an RPC binding input parameter, it uses one of the global variables defined for each service (instead of a string) to specify which dced service to use.