[
https://issues.apache.org/jira/browse/DIRSERVER-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Seelmann closed DIRSERVER-1636.
--------------------------------------
Assignee: Emmanuel Lecharny
I confirm the issue is fixed. The tests work now. Tested also with MIT Kerberos
client. Thanks Emmanuel for the quick fix.
> Obtaining Kerberos tickets via TCP leads to endless loop
> --------------------------------------------------------
>
> Key: DIRSERVER-1636
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1636
> Project: Directory ApacheDS
> Issue Type: Bug
> Reporter: Stefan Seelmann
> Assignee: Emmanuel Lecharny
> Priority: Critical
> Fix For: 2.0.0-M2
>
>
> When obtaining Kerberos tickets via *TCP* the server runs into an endless
> loop. The while loop in
> org.apache.directory.server.kerberos.protocol.KerberosDecoder.decode() never
> terminates.
> To reproduce I added a new test class "KerberosTcpITest" in kerberos-test
> module, just remove the @Ignore.
> Here is the stack:
> Thread [NioProcessor-5] (Suspended (breakpoint at line 106 in
> KerberosDecoder))
> KerberosDecoder.decode(IoSession, IoBuffer, ProtocolDecoderOutput)
> line: 106
> ProtocolCodecFilter.messageReceived(IoFilter$NextFilter, IoSession,
> Object) line: 241
> DefaultIoFilterChain.callNextMessageReceived(IoFilterChain$Entry,
> IoSession, Object) line: 434
> DefaultIoFilterChain.access$1200(DefaultIoFilterChain,
> IoFilterChain$Entry, IoSession, Object) line: 46
> DefaultIoFilterChain$EntryImpl$1.messageReceived(IoSession, Object)
> line: 796
>
> DefaultIoFilterChain$HeadFilter(IoFilterAdapter).messageReceived(IoFilter$NextFilter,
> IoSession, Object) line: 119
> DefaultIoFilterChain.callNextMessageReceived(IoFilterChain$Entry,
> IoSession, Object) line: 434
> DefaultIoFilterChain.fireMessageReceived(Object) line: 426
> NioProcessor(AbstractPollingIoProcessor<S>).read(S) line: 715
> NioProcessor(AbstractPollingIoProcessor<S>).process(S) line: 668
> NioProcessor(AbstractPollingIoProcessor<S>).process() line: 657
> AbstractPollingIoProcessor<S>.access$600(AbstractPollingIoProcessor)
> line: 68
> AbstractPollingIoProcessor$Processor.run() line: 1141
> NamePreservingRunnable.run() line: 64
> ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1110
> ThreadPoolExecutor$Worker.run() line: 603
> Thread.run() line: 679
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira