[2315] in Kerberos-V5-bugs

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

Re: krb5-appl/70: rsh yields connection refused + unknown code

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Sun Oct 6 21:36:07 1996

To: tytso@MIT.EDU
Cc: jhawk@bbnplanet.com, krb5-prs@rt-11.MIT.EDU
From: Ken Raeburn <raeburn@cygnus.com>
Date: 06 Oct 1996 21:35:15 -0400
In-Reply-To: tytso@MIT.EDU's message of Sun, 6 Oct 1996 20:39:00 -0400


> What's going on is that kcmd() occasionally return -1, instead of a real
> error code.  It should be fixed....

The fix I put in at Cygnus was to arrange it such that kcmd returns -1
iff it has already printed the error message, and the caller prints an
error message only if the error code is not -1.  (In some cases the
message can't be returned as a simple number.)  This required minor
changes both in kcmd and at the call site.  This'll get into the MIT
tree next time I've got time to merge the appl/bsd code....

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