[52] in Kerberos

home help back first fref pref prev next nref lref last post

Re: rcp not finding hosts

jon@ATHENA.MIT.EDU (jon@ATHENA.MIT.EDU)
Sun Aug 9 21:20:01 1987

From mtc@ATHENA.MIT.EDU  Fri Aug 15 14:18:51 1986
To: srz@athena.mit.edu
Cc: kerberos
Subject: Re: rcp not finding hosts
In-Reply-To: Your message of Thu, 14 Aug 86 23:09:15 EDT.
             <8608150309.AA14759@CHARON>
Date: Fri, 15 Aug 86 14:15:23 -0500
From: Mark Colan <mtc@ATHENA.MIT.EDU>

>	Well, the specific instance was fixed, but playing with it showed up
>	a spurious error message:

>	login (don't run kinit):

>	charon% /krb/rcp trillian.mit.edu:/mit/s/r/srz/.login trill.login
>	erberos key length invalid.

>	and then it copies the file over, using the .rhosts file.
>	I think this should either be a better error message, or just
>	eliminated.

Thanx for pointing out the bug.  It has been fixed; get the
latest rcp binary from menelaus:~auth/src/services/rcmd/rcp.

The problem was that in the case of remote to local, the error return
from mk_ap_req was not checked.  Since it failed, there was no ticket,
but we used the Kerberos port anyway.  That caused the "can't happen"
message you saw.  Now that the error return from mk_ap_req is properly
handled, we give up on Kerberos in this situation and use the normal
shell port instead.  I did NOT actually remove the error message; it
remains to indicate the "can't happen" situation.

mtc


home help back first fref pref prev next nref lref last post