[679] in Kerberos

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

Re: Problem with -x option on rlogin

daemon@TELECOM.MIT.EDU (steiner@osf.org)
Tue Mar 28 08:23:57 1989

To: kerberos@ATHENA.MIT.EDU
Cc: steiner@osf.org, kerberos-bugs@ATHENA.MIT.EDU, jer@IDA.ORG
From: steiner@osf.org

> When I try to use the -x option with rlogin, the following happens:
> 
>    % rlogin csed-2 -x
>    /usr/local/athena/rlogin: Kerberos rcmd failed: Service expired (kerberos).
>    % 

You may be getting a bogus error message.

rlogin calls kcmd which calls krb_sendauth.  krb_sendauth sometimes
returns "errno" instead of a Kerberos error code (e.g., lines 206, 214
of the file lib/krb/sendauth.c).  The "errno" value gets passed back
to rlogin, which re-interprets it as a Kerberos error code, so the
problem may have nothing to do with the error code rlogin is giving
you.  (In any case, this is a bug in krb_sendauth.)

Jennifer

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