directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wu, James C." <James.C...@disney.com>
Subject kadmin with ApacheDS 2.0.0-M12 failed with BufferUnderflowException
Date Fri, 10 May 2013 18:16:02 GMT
Hi Guys,

I got into an error while trying to access the kadmin interface. I have the following three
principle created and kinit works well for them
   kadmin/admin
   kadmin/fqdn
   root/admin

But when I try to access the kadmin interface, then I got error shown below:

   [root@n7-z01-0a2a0c3a cloud-user]# kadmin
  Authenticating as principal kadmin/admin@EXAMPLE.COM with password.
  Password for kadmin/admin@EXAMPLE.COM:
  kadmin: GSS-API (or Kerberos) error while initializing kadmin interface

The DEBUG log output shows an BufferUnderflowException

[11:10:37] DEBUG [org.apache.mina.filter.codec.ProtocolCodecFilter] - Processing a MESSAGE_RECEIVED
for session 57
[11:10:37] DEBUG [org.apache.directory.server.kerberos.changepwd.protocol.ChangePasswordProtocolHandler]
- /10.42.12.58:41115 EXCEPTION
org.apache.mina.filter.codec.ProtocolDecoderException: java.nio.BufferUnderflowException (Hexdump:......)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:242)
        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.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)
Caused by: java.nio.BufferUnderflowException
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:145)
        at java.nio.ByteBuffer.get(ByteBuffer.java:694)
        at org.apache.directory.server.kerberos.changepwd.messages.ChangePasswordError.decode(ChangePasswordError.java:119)
        at org.apache.directory.server.kerberos.changepwd.io.ChangePasswordDecoder.decode(ChangePasswordDecoder.java:68)
        at org.apache.directory.server.kerberos.changepwd.protocol.MinaChangePasswordDecoder.doDecode(MinaChangePasswordDecoder.java:75)
        at org.apache.mina.filter.codec.CumulativeProtocolDecoder.decode(CumulativeProtocolDecoder.java:176)
        at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:232)

regards,


James

Mime
View raw message