directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Moyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-91) Problems decrypting the TGT in KerberosConnection
Date Fri, 12 Apr 2013 15:08:16 GMT

    [ https://issues.apache.org/jira/browse/DIRKRB-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13630147#comment-13630147
] 

Steve Moyer commented on DIRKRB-91:
-----------------------------------

The line:

            EncAsRepPart encAsRepPart = KerberosDecoder.decodeEncAsRepPart(encAsRepPartData);

is throwing the following exception:

497 [NioProcessor-2] ERROR org.apache.directory.api.asn1.ber.grammar.AbstractGrammar - ERR_00001_BAD_TRANSITION_FROM_STATE
Bad transition from state START_STATE, tag 0x7A
org.apache.directory.shared.kerberos.exceptions.KerberosException: Integrity check on decrypted
field failed
	at org.apache.directory.server.kerberos.protocol.codec.KerberosDecoder.decodeEncAsRepPart(KerberosDecoder.java:649)
	at edu.psu.libraries.kerberosclient.KerberosConnection.messageReceived(KerberosConnection.java:329)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:690)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:407)
	at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:236)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:47)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:765)
	at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:109)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:417)
	at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:410)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:710)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:664)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:653)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:67)
	at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1124)
	at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)
Caused by: org.apache.directory.api.asn1.DecoderException: ERR_00001_BAD_TRANSITION_FROM_STATE
Bad transition from state START_STATE, tag 0x7A
	at org.apache.directory.api.asn1.ber.grammar.AbstractGrammar.executeAction(AbstractGrammar.java:125)
	at org.apache.directory.api.asn1.ber.Asn1Decoder.treatTLVDoneState(Asn1Decoder.java:599)
	at org.apache.directory.api.asn1.ber.Asn1Decoder.decode(Asn1Decoder.java:735)
	at org.apache.directory.server.kerberos.protocol.codec.KerberosDecoder.decodeEncAsRepPart(KerberosDecoder.java:645)
	... 22 more

                
> Problems decrypting the TGT in KerberosConnection
> -------------------------------------------------
>
>                 Key: DIRKRB-91
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-91
>             Project: Directory Kerberos
>          Issue Type: Bug
>            Reporter: Steve Moyer
>            Assignee: Emmanuel Lecharny
>         Attachments: AuthReqAndRep
>
>
> See attached packet dumps (libpcap) of the request and response.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message