Bug 901330 (JBPAPP6-1798)

Summary: Local auth doesn't work on Windows when client uses link-local address without zone-id
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jan Martiska <jmartisk>
Component: IPv6 support, RemotingAssignee: Darran Lofthouse <darran.lofthouse>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: brian.stansberry, dandread, jmartisk, ochaloup, rsvoboda
Target Milestone: ER2Keywords: TestBlocker
Target Release: EAP 6.1.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-1798
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Jan Martiska 2013-01-17 08:05:45 UTC
project_key: JBPAPP6

on windows, with Oracle JDK 7, bind EAP to a link-local IPv6 address (assuming there is only one interface on which this address can be resolved):
{noformat}
standalone.bat -bmanagement=[fe80::c8c6:9156:6b8a:9012]
{noformat}
and try to connect to it from the same machine using jboss-cli.bat, without specifying zone-id:
{noformat}
jboss-cli.bat -c --controller=fe80::c8c6:9156:6b8a:9012:9999
{noformat}
It will require username and password. If you specify zone-id, it will work correctly and log you in automatically. Tested on Windows 2008 R2 Enterprise 64bit, oracle JDK 1.7.0_10.

On Linux [tested on RHEL 6 64bit; oracle JDK 1.7.0_11], local auth works in both cases (with and without zone-id)

This for example also prevents you from running AS testsuite on Windows and binding managed servers to a link-local address without zone-id, because Arquillian will be able to start them, but will not be able to connect to them.

Comment 1 Pavel Janousek 2013-01-17 09:03:41 UTC
Affects Testing: Added: Blocks Testing


Comment 2 Brian Stansberry 2013-01-17 15:25:11 UTC
What happens with:

jboss-cli.bat -c --controller=[fe80::c8c6:9156:6b8a:9012]:9999

Comment 3 Jan Martiska 2013-01-17 19:20:05 UTC
In that case it also requires username/password.

Comment 6 JBoss JIRA Server 2013-02-21 14:08:13 UTC
Darran Lofthouse <darran.lofthouse> updated the status of jira AS7-6382 to Coding In Progress

Comment 9 Rostislav Svoboda 2013-03-05 07:05:49 UTC
PR was closed 11 days ago, so it will be in ER2. Changing status to ON_QA

Comment 10 Jan Martiska 2013-03-06 14:34:54 UTC
verified in 6.1.0.ER2! thanks