HP DCE/9000 Version 1.7 Application Development Tools for HP-UX 11.0 Release Note
HP DCE 1.7 Application Development Tools Release Note 37
Developing DCE Applications with HP DCE/ 9000
Notes on Programming with HP DCE
Cell Directory Service Programming
Interfaces
The supported programming interfaces to CDS are the RPC Name
Service Independent (RPC_NS) interface and the X/Open Directory
Service (XDS) interface. The RPC_NS function call prototypes are in the
include file /usr/include/dce/rpc.h. The XDS function call prototypes
are in the include file / usr/include/xds.h. The RPC_NS interface is the
procedural interface used by the core DCE components and most
applications. The XDS interface is an object-oriented interface
appropriate for use with other X/Open standards such as X.500. Both the
RPC_NS and XDS interfaces support many common name space
functions, but lack administrative capabilities such as the ability to
create and delete directories and manage replication.
dcecp is the recommended tool for performing CDS administrative
functions such as creating and deleting directories and managing
replication. dcecp can be called in a shell script, but is not a
programming interface.
RPC_RESTRICTED_PORTS Environment
Variable
The capability to restrict the assignment of endpoints to those in a
user-specified set was added to RPC in OSF DCE 1.0.3. This allows DCE
applications to operate in environments in which inter-network traffic is
restricted to specified endpoints. The facility is activated by setting the
RPC_RESTRICTED_PORTS environment variable with the list of end
points to which dynamic assignment should be restricted before starting
an RPC application. RPC_RESTRICTED_PORTS governs only the
dynamic assignment of server and client ports by the RPC runtime. It
does not affect well-known endpoints.
The facility is turned on by setting the RPC_RESTRICTED_PORTS
environment variable before starting an RPC application. The syntax of
the variable is as follows:
<entry> [COLON <entry>]*
<entry> : <protseq_name> LEFT-BRACKET <ranges> RIGHT-BRACKET
<ranges>: <range> [COMMA <range>]*
<range> : <endpoint-low> HYPHEN <endpoint-high>