Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: a11389@mindlink.bc.ca (Muiz Motani)
Subject: Re: Probing Client's Identity in DCE RPC
Date: Tue, 4 Oct 1994 18:41:03	[thread overview]
Message-ID: <a11389.9.0012AFBE@mindlink.bc.ca> (raw)
In-Reply-To: Cx69sC.ME7@tandem.com

In article <Cx69sC.ME7@tandem.com> david@madmax.tower.tandem.com (paulsen_david) writes:
>In article L0J@undergrad.math.uwaterloo.ca, ymyong@neumann.uwaterloo.ca (Yuh
>Ming YONG) writes:
>> 
>> hi,
>>    Could someone educate me on how I can uniquely
>> capture the client identification in the server's
>> stub code?
>> 

>Your server can call rpc_binding_inq_auth_client() which
>"Returns authentication and authorization information from
>the binding handle for an authenticated client."

>>    Because the rpc handles are transparently managed
>> by the rpc stubs, I can't capture or log the information
>> which can be used later to match a rpc event between
>> client and server. The purpose is to collect sufficient
>> information for debugging purposes. The idea is to 
>> implement a monitor machanism which probes the "activities"
>> between client and server. But I do not know what
>> qualify as a client unique i.d which can subsequently be used
>> to match its rpc with the associated server's reply.
>> 


It sounds like Yuh Ming is using automatic binding, and of course in that case 
the manager routines do not have access to the client binding handle. Note 
that the stubs should as a rule never be modified, and hence the 
rpc_binding_auth_inq() call should be made in the manager routines. In order 
to use this method you must be using explicit or implicit bindings. Note also 
that this does not work if you are using unauthenticated RPC. A principal name 
will only be returned by this call if the client has done a login and has 
authenticated it's server binding. 
_______________________________________________________________________
Muiz Motani                                (604)274-8894
Intelligent Distribution
a11389@mindlink.bc.ca


      reply	other threads:[~1994-10-04 22:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-04 19:49 Probing Client's Identity in DCE RPC Yuh Ming YONG
1994-10-04 23:40 ` paulsen_david
1994-10-04 22:41   ` Muiz Motani [this message]
read-only archive

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