>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     r...@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@w16 ~]$ kdestroy
[jcw@w16 ~]$ kinit
j...@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....@stradamotorsports.com)... ]
[ Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding 
ended unexpectedly ]
[ Trying KERBEROS5 (host/s8.stradamotorsports....@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: j...@stradamotorsports.com

  Issued           Expires          Principal
Feb 12 08:07:11  Feb 12 18:07:11  
krbtgt/stradamotorsports....@stradamotorsports.com
Feb 12 08:07:14  Feb 12 18:07:11  
host/s8.stradamotorsports....@stradamotorsports.com


>Fix:
Uknown:

Problem doesn't exist in 7.3-RELEASE

>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to