On 05/17/2013 02:39 PM, Bruno Matos wrote:
On Sex, 2013-05-17 at 13:10 +0100, Gordon Sim wrote:
On 05/17/2013 10:37 AM, Bruno Matos wrote:
Now I'm testing with authentication and I'm receiving the message 'SASL
layer required!'. I'm using --auth yes on both brokers with PLAIN
mechanism configured. I'm searching for the code where the mechanisms
are set for the outgoing message, as soon as I found something, I let
you know.

That sounds like you are still using NONE. The mechanisms to use are
configured as part of the domain object.

I'm using PLAIN in the domain configuration. I was debugging the
creation of the messages in the source broker and notice that the
qpid::broker::amqp::SaslClient::getVersion calls the
Connection::getVersion method which creates a ProtocolVersion(1,0),
leaving the protocol field of ProtocolVersion set to 0. Can this be a
problem?

Yes!

After change that to ProtocolVersion(1,0,3) the destination
broker no longer complains about SASL layer.

Great... and does it then work?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to