From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,6db4738fad8ab740 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-10-20 14:38:49 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!gatech!news-feed-1.peachnet.edu!news.duke.edu!news.mathworks.com!uhog.mit.edu!news.mtholyoke.edu!news.umass.edu!rcfnews.cs.umass.edu!dhaka.pilgrim.umass.edu!rahman From: rahman@dhaka.pilgrim.umass.edu (Mustafizur Rahman) Newsgroups: comp.unix.osf.misc Subject: Re: HELP: Identity of DCE principals Followup-To: comp.unix.osf.misc Date: 20 Oct 1994 21:01:20 GMT Organization: University of Massachusetts, Amherst, MA 01003 Distribution: world Message-ID: <386lr0$8bq@kernighan.cs.umass.edu> References: Reply-To: rahman@pilgrim.umass.edu NNTP-Posting-Host: dhaka Keywords: dce, identity, principal In article , 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