From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,2b9799cb9387d7ac X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-08-30 21:08:40 PST Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!uunet!isoft!jec From: jec@isoft.isoft.com (Jonathan Chinitz) Newsgroups: comp.unix.osf.misc Subject: Re: DCE security: some questions Keywords: DCE, Authentication, Authorization, Keys, RPC Message-ID: <393@isoft.isoft.com> Date: 31 Aug 94 03:04:02 GMT References: <17021B887S86.UC577050@mizzou1.missouri.edu> Organization: IntelliSoft Corp., Acton MA In article <17021B887S86.UC577050@mizzou1.missouri.edu>, UC577050@mizzou1.missouri.edu (Ramana Turlapati) writes: > Hello DCE programmers/developers, > I have a few questions regarding setting up mutual authentication > between a client and server. > > I have it setup now wherein both server/client contact the security > registry server to authenticate each others principals. I am right I am a bit confuesd as to what you are trying to accomplish here. When a client makes a protected-RPC to a server all the mutual authentication stuff happens in the runtime automatically so that when your server wakes up in the manager routine - the client is authenticated to it. > now passing a value of NULL for registry site argument to get the > binding handle. If the client happens to opearte in a different cell, how > can server know about the regisrty server of the client? Similarly how > can a client authenticate a server in a different cell? > I think the call you should be making here is rpc_binding_set_auth_info() and not a sec_rgy call (which I think you are doing). The 2nd argument is the name of the server, which can be a principal name in your cell ("server") or a principal name in a foreign cell ("/.../foreign-cell/server"). If this doesn't help, be more specific next time around with the APIs that you are using. Jonathan -- Jonathan Chinitz E-mail: jec@isoft.com IntelliSoft Corp. Tel.: 508-635-9070 Distributed Computing Solutions Fax: 508-635-9210 P.O. Box 2645, Acton, MA 01720