Joshua Kramer wrote:
Howdy Folks,
I'm encountering some errors connecting to the SSL-enabled C++ broker
with Python. I have the SVN Trunk as of Monday or Tuesday of this
week, and I am running these tests on CentOS 5.2.
Under /usr/local/var/lib/qpidd, I have a qpidd.sasldb file. It is
configured thusly:
[EMAIL PROTECTED] qpidd]# /usr/sbin/sasldblistusers2 -f ./qpidd.sasldb
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
[EMAIL PROTECTED]: userPassword
The /usr/local/etc/sasl2 file has the following lines:
mech_list: plain anonymous
pwcheck_method: auxprop
auxprop_plugin: sasldb
sasldb_path: /usr/local/var/lib/qpidd/qpidd.sasldb
When I run the following line in the trunk/qpid/python directory:
[EMAIL PROTECTED] python]$ ./run-tests -s 0-10-errata -b
amqps://testid3/[EMAIL PROTECTED]:5671 -v -d
...when the script attempts to connect to the broker, these log lines
are emitted from the broker:
2008-oct-30 21:06:35 info SASL: Starting authentication with
mechanism: PLAIN
2008-oct-30 21:06:35 info SASL: Authentication failed: SASL(-13): user
not found: Password verification failed
Note that if I do not specify that authentication is required, the
Python-based SSL tests pass.
I'll start digging into the Python code to see what is being sent to
the broker, and if there are problems with those credentials.
Thanks,
-Josh
To make sure you are not tracking a config error, turn SSL off and
authentication on. If all works then it is an SSL &auth combo error.
Ie, does auth work with SSL off? does for me.
Carl.