From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,74db3fd7138e6c68,start X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1993-10-07 06:29:44 PST Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!not-for-mail From: Zahn@Uni-Augsburg.DE (Markus Zahn) Newsgroups: comp.unix.osf.misc Subject: IBM DCE 1.2 Binding Problems Date: 7 Oct 1993 04:50:37 -0500 Organization: UTexas Mail-to-News Gateway Sender: daemon@cs.utexas.edu Message-ID: <9310070948.AA24686@ibm20s.RZ.Uni-Augsburg.DE> NNTP-Posting-Host: cs.utexas.edu 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: . : 0053345a-6785-1cb1-bff9-02608c2f0899 4d37f2dded43.02.c0.37.cf.1e.00.00.00,4.0 ncadg_ip_udp:137.250.113.5[2817] DFS Bakserver Ubik Disk Interface 0053345a-6785-1cb1-bff9-02608c2f0899 4d37f2dded43.02.c0.37.cf.1e.00.00.00,4.0 ncadg_ip_udp:137.250.113.5[2817] DFS Bakserver Ubik Vote Interface nil 008681d4-a08d-1c70-acf2-02608c2ca235,1.0 ncacn_ip_tcp:137.250.113.5[4345] Application Server nil 008681d4-a08d-1c70-acf2-02608c2ca235,1.0 ncadg_ip_udp:137.250.113.5[3261] 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/ ------------------------------