Bug 154709 - [heimdal] Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly [regression]
Summary: [heimdal] Kerberos V5 refuses authentication because Read req failed: ASN.1 e...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 16:10 UTC by Jason C. Wells
Modified: 2018-05-21 00:02 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason C. Wells 2011-02-12 16:10:08 UTC
Error message is:

Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly

Fix: 

Uknown:

Problem doesn't exist in 7.3-RELEASE
How-To-Repeat: On KDC:

Create new heimdal database: kstash --random-key; kadmin -l; init REALM
Start kadmind, kdc
extract keytabs on servers

On client:

[jcw@w16 ~]$ kdestroy
[jcw@w16 ~]$ kinit
jcw@STRADAMOTORSPORTS.COM's Password: 
[jcw@w16 ~]$ telnet s8
Trying 192.168.1.208...
Connected to s8.stradamotorsports.com.
Escape character is '^]'.
[ Trying mutual KERBEROS5 (host/s8.stradamotorsports.com@STRADAMOTORSPORTS.COM)... ]
[ Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly ]
[ Trying KERBEROS5 (host/s8.stradamotorsports.com@STRADAMOTORSPORTS.COM)... ]
[ Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly ]
Trying SRA secure login:
User (jcw):

But this is funny.  You get a host ticket in your credentials cache.

[jcw@w16 ~]$ klist
Credentials cache: FILE:/tmp/krb5cc_1001
        Principal: jcw@STRADAMOTORSPORTS.COM

  Issued           Expires          Principal
Feb 12 08:07:11  Feb 12 18:07:11  krbtgt/STRADAMOTORSPORTS.COM@STRADAMOTORSPORTS.COM
Feb 12 08:07:14  Feb 12 18:07:11  host/s8.stradamotorsports.com@STRADAMOTORSPORTS.COM
Comment 1 Mark Linimon 2011-03-01 06:29:39 UTC
----- Forwarded message from "Jason C. Wells" <jcw@speakeasy.net> -----

Date: Mon, 28 Feb 2011 21:40:21 -0800
From: "Jason C. Wells" <jcw@speakeasy.net>
To: freebsd-bugs@FreeBSD.org
Subject: PR 154709  Applies to 8.2-RELEASE

PR 154709 also applies to 8.2-RELEASE.

Thanks,
Jason

----- End forwarded message -----
Comment 2 jasoncwells 2016-09-09 00:02:29 UTC
I'm unable to reproduce this bug at this point in time. The system and heimdal have both changed a lot since this bug was filed. Feel free to close this.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2018-05-21 00:00:00 UTC
For bugs matching the following conditions:
- Status == In Progress
- Assignee == "bugs@FreeBSD.org"
- Last Modified Year <= 2017

Do
- Set Status to "Open"