If anyone wants it, I have some simple code (requires regular workstation 
libs, no source license needed.) That does the token passing.

Is handy to have for example if you have a machine that doesn't do 
authenticated remsh, or you want to use rlogin and authenticate.

-- Nathan

> 
> Terry,
> I seem to remember that the  first token in the list of "tokens" output 
> is passed to the target of rsh. If this is true, what you have to do is:
> 1) login to your system
> 2) if you automatically get a token for that system's cell: unlog
> 3) get token for remote cell
> 4) get token for local cell
> 4a) do "tokens" to see what things looke like
> 5) try rsh
> But I haven't tried this
> Joop Verdoes
> 
> 
> ----------
> | From: terryh /  mailgate, , , [EMAIL PROTECTED]
> | To: info-afs /  mailgate, , , [EMAIL PROTECTED]
> | Subject: inter-cell token
> | Date: Tuesday, June 04, 1996 4:43PM
> |
> | Received: from amsw32.ksla.shell.nl by kseu06.ksepl.shell.nl with SMTP
> |     (1.38.193.5/16.2-NCE/JvdW) id AA21410; Wed, 5 Jun 1996 02:23:49 +0200
> | Received: from transarc.com by ksla.nl (PMDF #2478 ) id
> |  <[EMAIL PROTECTED]>; Wed, 5 Jun 1996 02:19:53 +0100
> | Received: by transarc.com (5.54/3.15) id <AA06905>; Tue, 4 Jun 96 
> 19:55:42 EDT
> | Received: via switchmail for [EMAIL PROTECTED]; Tue,
> |  4 Jun 1996 19:55:38 -0400 (EDT)
> | Received: from po2.transarc.com via qmail ID
> |  </afs/transarc.com/service/mailqs/q1/QF.olhAdmz0Bi821Aqk5T>; Tue,
> |  4 Jun 1996 19:44:51 -0400 (EDT)
> | Received: from serv05.slac.stanford.edu (SERV05.SLAC.Stanford.EDU,
> |  [134.79.16.135]) by po2.transarc.com (5.54/3.15) id <AA19660> for info-afs;
> |  Tue, 4 Jun 96 19:44:34 EDT
> | Received: from MAILBOX.SLAC.Stanford.EDU ([EMAIL PROTECTED]) by
> |  SERV05.SLAC.STANFORD.EDU (PMDF V5.0-6 #10979) id
> |  <[EMAIL PROTECTED]> for 
> [EMAIL PROTECTED]; Tue,
> |  04 Jun 1996 16:43:26 -0800 (PST)
> | Received: from greenjay.SLAC.Stanford.EDU ([EMAIL PROTECTED]
> |  [134.79.128.111]) by mailbox.SLAC.Stanford.EDU (8.7.4/8.6.11) with SMTP id
> |  QAA20772 for <[EMAIL PROTECTED]>; Tue, 04 Jun 1996 16:43:25 -0700 (PDT)
> | Received: by greenjay.SLAC.Stanford.EDU (AIX 3.2/UCB 5.64/SLAC 920508) id
> |  AA20410; Tue, 04 Jun 1996 16:43:24 -0700
> | Date: 04 Jun 1996 16:43:23 -0700 (PDT)
> | From: [EMAIL PROTECTED]
> | Subject: inter-cell token
> | To: [EMAIL PROTECTED]
> | Reply-To: [EMAIL PROTECTED]
> | Message-Id: <[EMAIL PROTECTED]>
> | X-Envelope-To: [EMAIL PROTECTED], [EMAIL PROTECTED],
> |  [EMAIL PROTECTED]
> | Mime-Version: 1.0
> | Content-Type: text/plain; charset=US-ASCII
> | Content-Transfer-Encoding: 7bit
> | X-Mailer: ELM [version 2.4 PL25]
> |
> | -------
> |    Has anyone successfully passed inter-cell token? If I logon to
> | machine foo and do the following:
> |
> |    rsh foo tokens
> |
> |    then the inner-cell token is passes to the remote session. If I do
> | 'unlog' from foo and then 'klog -cell rl.ac.uk' and get a token from
> | another cell, I type
> |
> |    rsh foo tokens
> |
> |    and this time the other-cell token is not passed over. Maybe I should
> | only try to pass the token of the cell which remote machine belongs to.
> | I did try that, no luck either. Any suggestion will be greatly appreciated!
> |
> |    (I did read AFS's inetd.1 and rsh.1, and our system manager did set
> | up rsh and inetd properly as far as I can tell.)
> |
> | --
> | Terry Hung - Stanford Linear Accelerator Center
> | phone: 415-926-3618
> | e-mail: [EMAIL PROTECTED]
> | 
> 


------------------------------------------------------------
Nathan Neulinger                  Univ. of Missouri - Rolla
EMail: [EMAIL PROTECTED]                    Computer Center
WWW: http://www.umr.edu/~nneul      SysAdmin: rollanet.org

Reply via email to