Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.26
-
None
-
rpm -qa | grep sasl | sort
cyrus-sasl-2.1.26-14.fc20.x86_64
cyrus-sasl-devel-2.1.26-14.fc20.x86_64
cyrus-sasl-gssapi-2.1.26-14.fc20.x86_64
cyrus-sasl-lib-2.1.26-14.fc20.x86_64
cyrus-sasl-md5-2.1.26-14.fc20.x86_64
cyrus-sasl-plain-2.1.26-14.fc20.x86_64
cyrus-sasl-scram-2.1.26-14.fc20.x86_64
erlang-sasl-R16B-03.7.fc20.x86_64qpid-cpp-server-0.26-13.fc20.x86_64
rpm -qa | grep sasl | sort cyrus-sasl-2.1.26-14.fc20.x86_64 cyrus-sasl-devel-2.1.26-14.fc20.x86_64 cyrus-sasl-gssapi-2.1.26-14.fc20.x86_64 cyrus-sasl-lib-2.1.26-14.fc20.x86_64 cyrus-sasl-md5-2.1.26-14.fc20.x86_64 cyrus-sasl-plain-2.1.26-14.fc20.x86_64 cyrus-sasl-scram-2.1.26-14.fc20.x86_64 erlang-sasl-R16B-03.7.fc20.x86_64 qpid-cpp-server-0.26-13.fc20.x86_64
Description
If I have the broker configured with --auth yes, it correctly advertises auth mechanisms: ['ANONYMOUS', 'PLAIN'].
If I run the following python code to connect using an empty password with username 'guest' and only allowing 'PLAIN' I expect to get an "Authentication failed(320)", but instead I receive a "sasl negotiation failed: no mechanism agreed".
from qpid.messaging import Connection
info =
Connection.establish(**info)
I also get the sasl negotiation failed with this code:
from qpid.messaging import Connection
info =
Connection.establish(**info)
I am using the builtin auth and not the saslwrapper auth because I do not have the packages 'saslwraper' and 'python-saslwrapper' installed.
I expected that a username='guest' and password=None or password='' should still agree on PLAIN and continue to try to authentication. This is also similar to the behavior of saslwrapper.