misc/154709: Kerberos V5 refuses authentication because Read req
failed: ASN.1 encoding ended unexpectedly
Jason C. Wells
jcw at speakeasy.net
Sat Feb 12 16:10:09 UTC 2011
>Number: 154709
>Category: misc
>Synopsis: Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Feb 12 16:10:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jason C. Wells
>Release: 8.1-RELEASE
>Organization:
n/a
>Environment:
FreeBSD a1.stradamotorsports.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Error message is:
Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly
>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 at w16 ~]$ kdestroy
[jcw at w16 ~]$ kinit
jcw at STRADAMOTORSPORTS.COM's Password:
[jcw at w16 ~]$ telnet s8
Trying 192.168.1.208...
Connected to s8.stradamotorsports.com.
Escape character is '^]'.
[ Trying mutual KERBEROS5 (host/s8.stradamotorsports.com at STRADAMOTORSPORTS.COM)... ]
[ Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly ]
[ Trying KERBEROS5 (host/s8.stradamotorsports.com at 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 at w16 ~]$ klist
Credentials cache: FILE:/tmp/krb5cc_1001
Principal: jcw at STRADAMOTORSPORTS.COM
Issued Expires Principal
Feb 12 08:07:11 Feb 12 18:07:11 krbtgt/STRADAMOTORSPORTS.COM at STRADAMOTORSPORTS.COM
Feb 12 08:07:14 Feb 12 18:07:11 host/s8.stradamotorsports.com at STRADAMOTORSPORTS.COM
>Fix:
Uknown:
Problem doesn't exist in 7.3-RELEASE
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list