Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: rahman@dhaka.pilgrim.umass.edu (Mustafizur Rahman)
Subject: Re: HELP: Identity of DCE principals
Date: 20 Oct 1994 21:01:20 GMT	[thread overview]
Message-ID: <386lr0$8bq@kernighan.cs.umass.edu> (raw)
In-Reply-To: CxyzL2.8tw@Yuri.CC.Uni-Augsburg.DE


In article <CxyzL2.8tw@Yuri.CC.Uni-Augsburg.DE>, kaindl@ibm21m.RZ.Uni-Augsburg.DE (Christian Kaindl) writes:

|>I am designing a distributed application using DCE RPC.

|>Is it possible for the server ( i.e. for the remote procedure ) to find
|>out the DCE identity ( login context ) of the user principal, who started
|>the client process ?

	Yes, provided the client process was started by someone who was
	already authenticated.  Some program may "login" the user from within
	the program (rare) which has the same effect.  The client's identity
	can be extracted from the PAC contained within the binding handle.

|>Is there a way to transfer the DCE identity of a given principal to any
|>currently running process ?

	I am not sure what you meant by "transfer the DCE identity" but the
	server can get the security PAC from the RPC call issued by the
	client from which the server can retrieve the caller's DCE *identity*. 
	*Clients* can call rpc_mgmnt_inq_server_princ_name() to get the server's
	DCE principal name but there is no equivalent call for the server side
	at this time.

	I believe the delegation mechanisms in OSF DCE 1.1 will enable one to
	forward the client *credential* as opposed to just the PAC.  Forwarding
	credentials will enable the remote process to "assume" the original
	caller's identity.
 	
								- Mustie

--
Mustafizur Rahman                   Internet: rahman@pilgrim.umass.edu
Project Pilgrim                               rahman@umvlsi.ecs.umass.edu
Department of Computer Science         Phone: (413) 545-4701
A143B Lederle Graduate Research Center   Fax: (413) 545-1249
University of Massachusetts
Amherst, MA 01003


      reply	other threads:[~1994-10-20 21:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-20 11:51 HELP: Identity of DCE principals Christian Kaindl
1994-10-20 21:01 ` Mustafizur Rahman [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