Description of problem: The broker with disabled authentication does not require authentication from clients connected from the same machine or from other Linux machines, but requires authentication from clients connected from Windows machines. Broker configuration: # cat /etc/qpidd.conf log-enable=info+ log-to-file=/var/lib/qpidd/qpidd.log truncate=yes auth=no Command line transcript from the Windows machine: >spout.exe --broker <broker_hostname> amq.topic 2015-02-16 09:32:57 [Client] warning Broker closed connection: 320, connection-forced: Not authenticated! connection-forced: Not authenticated! Broker log: ... [Broker] error Connection 10.34.75.209:5672-10.34.74.68:51519 closed by error: connection-forced: Not authenticated!(320) ... Version-Release number of selected component (if applicable): qpid-cpp-0.18-36 and qpid-cpp-win-3.2.5.9-1 How reproducible: 100% Steps to Reproduce: 1. Install qpid packages and disable authentication in the qpidd.conf file (see upper, please) 2. Start the qpidd service 3. On a Windows machine unpack qpid-cpp-win package and compile examples. 4. Try to send a message: "spout.exe --broker <broker_hostname> amq.topic" Actual results: The broker rejects to create the connection and reports an error. Expected results: The broker should create the connection without errors and the message should be sent.
I am sorry, this issue is on qpid-cpp-0.18-38 packages.
My guess is that this is a result of the windows client using PLAIN by default, but not supplying a username. If you add --connection-options '{sasl_mechanisms:ANONYMOUS}' or --connection-options '{username:foo}', does that avoid the error?
Hey Irina, could I please get some Release Note text for this one in preparation for 3.2 Release Notes (just while it is fresh in your mind). Customer Case attached so it needs one.
The broker configured to do not require client authentication behaves as expected; a connection is created without requirement to assign a username and a password. Verified on qpid-cpp-0.34-1 and qpid-cpp-win-3.34.1.1-1 on Rhel6-i686, Rhel6-x86_64, Rhel7-x86_64 on the broker side with clients on Windows 7-x64, Windows 8-x64, Windows Server2008-x64, Windows Server2008 R2 and Windows Server2012 R2. --> VERIFIED
Thanks for the draft Gordon. Edited for flow and marking for inclusion in the 3.2 Release Notes.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-1879.html