[
https://issues.apache.org/jira/browse/QPID-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chuck Rolke updated QPID-6511:
------------------------------
Attachment: bz1192924-win_client-spout_1-no-args_2-username_3-sasl-anon.html
bz1192924-linux_client-spout_1-no-args_2-username_3-sasl-anon.html
These traces show three connections each generated with
{noformat}
./spout amq.topic
./spout --connection-options "{username:chuck}" amq.topic
./spout --connection-options "{sasl-mechanisms:ANONYMOUS}" amq.topic
{noformat}
In the linux_client case all three work. In the win_client case the first
connection is rejected.
> [C++ Broker, clients] AMQP 0-10 windows clients can not connect to --no-auth
> broker
> -----------------------------------------------------------------------------------
>
> Key: QPID-6511
> URL: https://issues.apache.org/jira/browse/QPID-6511
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker, C++ Client
> Affects Versions: 0.32
> Environment: C++ Broker, windows client (drain or spout)
> Reporter: Chuck Rolke
> Assignee: Chuck Rolke
> Attachments:
> bz1192924-linux_client-spout_1-no-args_2-username_3-sasl-anon.html,
> bz1192924-win_client-spout_1-no-args_2-username_3-sasl-anon.html
>
>
> Broker
> {noformat}
> ./qpidd --auth no
> {noformat}
> Windows client
> {noformat}
> spout -b my-broker:5672 amq.topic
> {noformat}
> Fails with "Not authenticated!"
> The behavior change was in the broker as part of QPID-6325. Arguably the
> change is a good thing as it prevents clients connecting to the broker with
> no name. However, it makes for a poor out-of-the-box experience with a
> no-auth broker rejecting connections with an auth error.
> Clients can make a connection by adding:
> {noformat}
> --connection-options "{username:dummy}"
> or
> --connection-options "{sasl-mechanisms:ANONYMOUS}"
> {noformat}
> But the change breaks years of accumulated self tests that work just fine
> against older versions of qpidd.
> The proposal to fix this is to make the Windows client provide the same
> connection defaults as linux cyrus sasl.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]