Bug 1415963

Summary: [GSS](6.4.z) Authentication via remoting fail for larger requests i.e. long password
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: RemotingAssignee: Radovan Netuka <rnetuka>
Status: CLOSED CURRENTRELEASE QA Contact: Jiří Bílek <jbilek>
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11, 6.4.12CC: bmaxwell, david.lloyd, fgavrilo, jbaesner, jbilek, rnetuka, rstancel
Target Milestone: CR1   
Target Release: EAP 6.4.17   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-06 13:32:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1449266, 1450092, 1530459    

Description wfink 2017-01-24 09:27:29 UTC
Description of problem:
If the client use authentication and the passwords is really long, the SASL request or kerberos ticket is huge the attempt will fail.
In the same environment authentication for other users work correct.

The shown message within the server log is
TRACE [org.jboss.remoting.remote.connection handleEvent] (Remoting "gravity" read-1) Connection error detail: java.io.IOException: Received an invalid message length of 11857
        at org.xnio.channels.FramedMessageChannel.receive(FramedMessageChannel.java:106) [xnio-api-3.0.15.GA-redhat-1.jar:3.0.15.GA-redhat-1]
        at org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial.handleEvent(ServerConnectionOpenListener.java:229) [jboss-remoting-3.3.6.Final-redhat-1.jar:3.3.6.Final-redhat-1]



Actual results:
User with such large login parameters are not working

Additional info:
Set larger buffer size with
   org.jboss.remoting3.RemotingOptions.RECEIVE_BUFFER_SIZE
   org.jboss.remoting3.RemotingOptions.SEND_BUFFER_SIZE
will not help

Comment 9 Jiří Bílek 2017-08-04 15:32:34 UTC
Verified with EAP 6.4.17.CP.CR3

Comment 10 Petr Penicka 2017-09-06 13:32:48 UTC
Released on 2017-09-05 as part of the EAP 6.4.17 release.