Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* IBM DCE 1.2 Binding Problems
@ 1993-10-07  9:50 Markus Zahn
  1993-10-07 14:14 ` Rich Salz
  1993-10-08 11:05 ` Jonathan Chinitz
  0 siblings, 2 replies; 5+ messages in thread
From: Markus Zahn @ 1993-10-07  9:50 UTC (permalink / raw)


We use DCE IBM 1.2 on RS/6000 ( AIX 3.2.4 ) and discovered
a new feature(??):

Registering a server one time in the endpoint map and the CDS, causes
one entry in the CDS, but TWO valid bindings in the endpoint map. The
DCE-Servers themselves have two endpoint map entries, too! Retrieving
bindings from a group in the following loop, we get two bindings of
each member:

  rpc_ns_binding_import_begin(
    rpc_c_ns_syntax_default,
    (unsigned_char_t *)group_name,
    ssd_v1_0_c_ifspec,  
    NULL,                       
    &import_context,             
    &status );
  /* error_handling */
  for( servers_found=0; status != rpc_s_no_more_bindings &&
       servers_found < max_no_of_servers; servers_found++ )
  {
    rpc_ns_binding_import_next(
      import_context, 
      &( binding_h[servers_found] ), 
      &status );
    /* error_handling */
    rpc_ep_resolve_binding(
      binding_h[servers_found],
      ssd_v1_0_c_ifspec,
      &status2 );  
    /* error_handling */

    /*
     * Every server is found TWO times with different
     * binding ( endpoint )
     */
  }
  rpc_ns_binding_import_done(
    &import_context,    
    &status );
  /* error_handling */

_____________________________

"rpccp show mapping" produces the following output:
 .
 :
  <object>         0053345a-6785-1cb1-bff9-02608c2f0899
  <interface id>   4d37f2dded43.02.c0.37.cf.1e.00.00.00,4.0
  <string binding> ncadg_ip_udp:137.250.113.5[2817]
  <annotation>     DFS Bakserver Ubik Disk Interface

  <object>         0053345a-6785-1cb1-bff9-02608c2f0899
  <interface id>   4d37f2dded43.02.c0.37.cf.1e.00.00.00,4.0
  <string binding> ncadg_ip_udp:137.250.113.5[2817]
  <annotation>     DFS Bakserver Ubik Vote Interface

  <object>         nil
  <interface id>   008681d4-a08d-1c70-acf2-02608c2ca235,1.0
  <string binding> ncacn_ip_tcp:137.250.113.5[4345]
  <annotation>     Application Server

  <object>         nil
  <interface id>   008681d4-a08d-1c70-acf2-02608c2ca235,1.0
  <string binding> ncadg_ip_udp:137.250.113.5[3261]
  <annotation>     Application Server

Is this correct ( new OSF version ), a feature ( new IBM version ), or
just a bug ( new IBM version )!??

Thanks for your replies!

        // ------------------------------
       //  Markus Zahn
      //   Universitaet Augsburg
  \\ //    Internet: Zahn@Uni-Augsburg.DE
   \X/     ------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <9310070948.AA24686@ibm20s.rz.uni-augsburg.de>]

end of thread, other threads:[~1993-10-12 15:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-10-07  9:50 IBM DCE 1.2 Binding Problems Markus Zahn
1993-10-07 14:14 ` Rich Salz
1993-10-08 11:05 ` Jonathan Chinitz
     [not found] <9310070948.AA24686@ibm20s.rz.uni-augsburg.de>
1993-10-08 15:31 ` Greg Brail
1993-10-12 15:45   ` Greg Brail

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox