Machine-specific setup:
=======================
Sun SPARCStations running Transarc's DCE 1.0.1 DCE Developer's Kit:
     setenv RPC_SUPPORTED_PROTSEQS ncadg_ip_udp
     setenv LANG C
     setenv NLSPATH /opt/dcelocal/nls/msg/%L/%N
IBM RS/6000s running the AIX DCE Developer's Kit from IBM or Transarc:
     setenv RPC_SUPPORTED_PROTSEQS ncadg_ip_udp
HP 9000s running Hewlett-Packard's DCE Developer's Kit:
     setenv RPC_SUPPORTED_PROTSEQS ncadg_ip_udp
     setenv LANG C
     setenv NLSPATH /opt/dcelocal/nls/msg/%L/%N

One-time administrative setup:
==============================
1) Authenticate as cell_admin
2) Add Security Registry principals and accounts for tclient and
   tanybody
3) Add a Security Registry principal, account, and keytab file
   for tserver
4) Create a /.:/timop directory in CDS
5) Set the ACL on /.:/timop such that other_obj has all
   permissions

For example:
------------
dce_login cell_admin -dce-

rgy_edit << ==END==
domain principal
add tanybody -f "Timop Mystery Man"
add tclient -f "Timop Client"
add tserver -f "Timop Server"
domain account
add tanybody -g none -o none -mp -dce- -pw tanybody -m "Timop Mystery Man"
add tclient -g none -o none -mp -dce- -pw tclient -m "Timop Client"
add tserver -g none -o none -mp -dce- -pw tserver -m "Timop Server"
ktadd -p tserver -f /tmp/timop_keyfile -pw tserver
ktadd -p tserver -f /tmp/timop_keyfile -r -a
quit
==END==

cdscp create directory /.:/timop

acl_edit /.:/timop -m other_obj:rwdtcia


Then:
=====
To build it:                /bin/make -f Makefile.<whatever>
                            (ex: /bin/make -f Makefile.sun)

To run the server:
1) Authenticate as anyone:  dce_login tanybody tanybody
2) Run the server:          timop_server /.:/<CDS-server-name> &
                            (ex: timop_server /.:/timop/tsrv_1 &)

To run the client:
1) Authenticate as tclient: dce_login tclient tclient
2) Run the client:          timop_client CDS-server-name
                            (ex: timop_client /.:/timop/tsrv_1)


Sample output:
==============
% timop_server /.:/timop/tsrv_1
Server /.:/timop/tsrv_1 ready.
   Server /.:/timop/tsrv_1 answering the call.
   Server /.:/timop/tsrv_1 answering the call.
   Server /.:/timop/tsrv_1 answering the call.
   Server /.:/timop/tsrv_1 answering the call.
   ...

% timop_client /.:/timop/tsrv_1

Random #   Microsec
 7479344   18725932
 5649320   15274863
 9535355   24917847
  682183    1585726
   ...        ...


