Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B58DCDB7B for ; Mon, 29 Oct 2012 06:55:09 +0000 (UTC) Received: (qmail 28606 invoked by uid 500); 29 Oct 2012 06:55:09 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 28250 invoked by uid 500); 29 Oct 2012 06:55:06 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 28194 invoked by uid 99); 29 Oct 2012 06:55:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 06:55:04 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 06:54:57 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q9T6sa7G008416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 29 Oct 2012 02:54:36 -0400 Received: from [10.3.228.26] (vpn-228-26.phx2.redhat.com [10.3.228.26]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q9T6sYc2007518 for ; Mon, 29 Oct 2012 02:54:35 -0400 Message-ID: <508E28E5.90703@redhat.com> Date: Mon, 29 Oct 2012 06:57:41 +0000 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parsons (USA), Charlie Peters (USA) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: C++ clients unable to communicate with Java broker References: <1351193413.33603.YahooMailNeo@web161402.mail.bf1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org On 10/26/2012 11:00 AM, Rob Godfrey wrote: > OK... I think I know what the problem is now - the machine on which > you built the C++ client almost certainly doesn't have the SASL > libraries installed. > > When I build on a CentOS machine without SASL installed then I see > exactly the issue you are reporting. Can you get a protocol trace for that (e.g. set QPID_LOG_ENABLE=trace+:amqp_0_10 on the client)? The cyrus integration is supposed to be optional and if not available a default implementation that supports only ANONYMOUS and PLAIN *should* be built in. You can explicitly control the SASL mechanism used through the connection options e.g. --connection-options '{sasl_mechanisms:PLAIN}'. (You can if desired also specify the username and password in the connection options instead of in the URL e.g. --connection-options '{sasl_mechanisms:PLAIN,username:guest,password:guest}') > If I install the SASL libraries and rebuild the C++ client then it all > works fine --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org