Bug 901330 (JBPAPP6-1798) - Local auth doesn't work on Windows when client uses link-local address without zone-id
Summary: Local auth doesn't work on Windows when client uses link-local address withou...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: JBPAPP6-1798
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: IPv6 support, Remoting
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER2
: EAP 6.1.0
Assignee: Darran Lofthouse
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBP...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-17 08:05 UTC by Jan Martiska
Modified: 2013-07-23 18:47 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker AS7-6382 0 Major Resolved Local auth doesn't work on Windows when client uses link-local address without zone-id 2014-03-07 11:59:37 UTC
Red Hat Issue Tracker JBPAPP6-1798 0 Major Closed Local auth doesn't work on Windows when client uses link-local address without zone-id 2014-03-07 11:59:37 UTC

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


Note You need to log in before you can comment on or make changes to this bug.