* 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* Re: IBM DCE 1.2 Binding Problems
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
1 sibling, 0 replies; 5+ messages in thread
From: Rich Salz @ 1993-10-07 14:14 UTC (permalink / raw)
In <9310070948.AA24686@ibm20s.RZ.Uni-Augsburg.DE> Zahn@Uni-Augsburg.DE (Markus Zahn) writes:
>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.
This is correct -- one endpoint for each protocol, TCP and UDP.
/r$
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: IBM DCE 1.2 Binding Problems
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
1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Chinitz @ 1993-10-08 11:05 UTC (permalink / raw)
There is no bug here. If you do not restrict the use of protocol
sequences, by calling rpc_server_use_protseq instead of
rpc_server_use_all_protseqs, then the RPC runtime will create a
binding for each transport that it supports. In your case, one for DG
(ncadg_ip_udp) and one for CN (ncacn_ip_tcp).
This is explained quite well in the DCE Application Development Guide.
Jonathan
--
-------------------------------------------------------------------------------
Jonathan Chinitz E-mail: jec@isoft.com
IntelliSoft Corp.
Distributed Computing Solutions
P.O. Box 2645 Tel.: 508-635-9070
Acton, MA 01720 Fax: 508-635-9210
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <9310070948.AA24686@ibm20s.rz.uni-augsburg.de>]
* Re: IBM DCE 1.2 Binding Problems
[not found] <9310070948.AA24686@ibm20s.rz.uni-augsburg.de>
@ 1993-10-08 15:31 ` Greg Brail
1993-10-12 15:45 ` Greg Brail
0 siblings, 1 reply; 5+ messages in thread
From: Greg Brail @ 1993-10-08 15:31 UTC (permalink / raw)
In article <9310070948.AA24686@ibm20s.rz.uni-augsburg.de>,
Markus Zahn <Zahn@Uni-Augsburg.DE> wrote:
>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:
<stuff deleted>
>"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
As Rich Salz pointed out, it's perfectly normal for this to happen --
I presume AIX DCE 1.2 supports both UDP/IP and TCP/IP protocols, so
there would be one endpoint for each unless you explicitly specify
which protocols you want using rpc_server_use_protseq.
However, that doesn't explain this output from rpccp. Both servers
show the same string binding:
<string binding> ncadg_ip_udp:137.250.113.5[2817]
If one were for TCP, the first part of the string binding would be
"ncacn_ip_tcp". So if the following output is actually what rpccp is
spitting out, then something weird is still going on.
greg
--
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: IBM DCE 1.2 Binding Problems
1993-10-08 15:31 ` Greg Brail
@ 1993-10-12 15:45 ` Greg Brail
0 siblings, 0 replies; 5+ messages in thread
From: Greg Brail @ 1993-10-12 15:45 UTC (permalink / raw)
In article <CEL4GL.HsE@fig.citib.com>, Greg Brail <gjb@fig.citib.com> wrote:
>>"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
Oopsie. Different interfaces. Everything's working fine.
greg
--
Greg Brail ------------------ Citibank -------------------- gjb@fig.citib.com
^ permalink raw reply [flat|nested] 5+ messages in thread
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