Skip Menu |
 

Download (untitled) / with headers
text/plain 3.6KiB
From epeisach@MIT.EDU Wed Nov 20 14:27:16 1996
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id OAA26775 for <bugs@RT-11.MIT.EDU>; Wed, 20 Nov 1996 14:27:15 -0500
Received: from KANGAROO.MIT.EDU by MIT.EDU with SMTP
id AA28736; Wed, 20 Nov 96 14:27:15 EST
Received: by kangaroo.mit.edu; (5.65/1.1.8.2/08Mar96-0212PM)
id AA00549; Wed, 20 Nov 1996 14:27:14 -0500
Message-Id: <9611201927.AA00549@kangaroo.mit.edu>
Date: Wed, 20 Nov 1996 14:27:14 -0500
From: epeisach@MIT.EDU
Reply-To: epeisach@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: missing keytab causes klogind hang
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 209
>Category: krb5-appl
>Synopsis: missing keytab causes klogind hang
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: epeisach
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Nov 20 14:28:00 EST 1996
>Last-Modified: Thu Nov 21 14:01:33 EST 1996
>Originator: Ezra Peisach
>Organization:
MIT

Show quoted text
>Release: 1.0
>Environment:
Alpha 3.2 compiled with gcc and shared libraries

System: OSF1 kangaroo.mit.edu V3.2 214 alpha
Machine: alpha
Show quoted text
>Description:
I forgot to rename my keytab file. Attempting to rlogin
causes klogind to hang. v4 requests are still handled AOK.
(At least I assume it is a hang as I get no response in over 10 minutes.
Show quoted text
>How-To-Repeat:
Install klogind but forget the keytab,. Try rlogin.
Show quoted text
>Fix:
Unknown but we will have lots of problems with this if not fixed...

Show quoted text
>Audit-Trail:

From: Tom Yu <tlyu@MIT.EDU>
To: Unassigned Problem Report <krb5-unassigned@RT-11.MIT.EDU>
Cc: krb5-bugs@MIT.EDU
Subject: Re: krb5-appl/209: missing keytab causes klogind hang
Date: Wed, 20 Nov 1996 14:30:14 -0500

`Tom Yu' made changes to this PR.

*** /tmp/gnatsa0028. Wed Nov 20 14:29:36 1996
--- /tmp/gnatsb0028. Wed Nov 20 14:30:03 1996
***************
*** 9,20 ****
From: epeisach@MIT.EDU
Reply-To: epeisach@MIT.EDU
To: krb5-bugs@MIT.EDU
! Subject:
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 209
>Category: krb5-appl
! >Synopsis:
Show quoted text
>Confidential: no
>Severity: critical
>Priority: high
--- 9,20 ----
From: epeisach@MIT.EDU
Reply-To: epeisach@MIT.EDU
To: krb5-bugs@MIT.EDU
! Subject: missing keytab causes klogind hang
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 209
>Category: krb5-appl
! >Synopsis: missing keytab causes klogind hang
Show quoted text
>Confidential: no
>Severity: critical
>Priority: high

Add synopsis.
Responsible-Changed-From-To: krb5-unassigned->epeisach
Responsible-Changed-By: epeisach
Responsible-Changed-When: Thu Nov 21 13:44:54 EST 1996
Responsible-Changed-Why:
I understand the problem and know how to fix it.

State-Changed-From-To: open-closed
State-Changed-By: epeisach
State-Changed-When: Thu Nov 21 14:00:16 EST 1996
State-Changed-Why:
The problem has been fixed and checked into the source tree.

Show quoted text
>Unformatted:
klogind when missing keytab file hangs

Problem identified.... krb5_recvauth if when trying to send back an
error with krb5_mk_error, if the server field to recvauth is NULL, the
required field is not there and an ASN.1 missing element error is
returned.

The fix is in krb5_recvauth to deal with that situation by initializing
the server structure field of krb5_error. (I chose "????").

As to the hangs - the rlogin protocol is a little batty. The recvauth
could not send the response to the waiting client, but upon error return
from recvauth, klogind was trying to clear the data from the stream and
was waiting for info from a client which was never being sent.... Lose.

Fix check in.