Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 77951 invoked from network); 17 Mar 2009 08:42:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 08:42:32 -0000 Received: (qmail 4109 invoked by uid 500); 17 Mar 2009 08:42:31 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 4092 invoked by uid 500); 17 Mar 2009 08:42:31 -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 4081 invoked by uid 99); 17 Mar 2009 08:42:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 01:42:31 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gsim@redhat.com designates 66.187.233.31 as permitted sender) Received: from [66.187.233.31] (HELO mx1.redhat.com) (66.187.233.31) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 08:42:24 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n2H8g3k2001086 for ; Tue, 17 Mar 2009 04:42:03 -0400 Received: from pobox.fab.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2H8g1FM003434 for ; Tue, 17 Mar 2009 04:42:01 -0400 Received: from [10.11.12.108] (vpn-12-108.rdu.redhat.com [10.11.12.108]) by pobox.fab.redhat.com (8.13.1/8.13.1) with ESMTP id n2H8fxbS006064 for ; Tue, 17 Mar 2009 04:42:00 -0400 Message-ID: <49BF6313.3040403@redhat.com> Date: Tue, 17 Mar 2009 08:45:07 +0000 From: Gordon Sim Organization: Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom.,Registered in England and Wales under Company Registration No. 3798903,Directors: Michael Cunningham (USA), Charlie Peters (USA) and David Owens (Ireland) User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: about sasl References: <1237204057368-2485483.post@n2.nabble.com> <49BE3E21.4070601@redhat.com> <1237204904330-2485549.post@n2.nabble.com> <1237255362141-2489415.post@n2.nabble.com> In-Reply-To: <1237255362141-2489415.post@n2.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-Virus-Checked: Checked by ClamAV on apache.org doublefox1981 wrote: > this my c++ client, it's on windows > > Connection connection; > ConnectionSettings Setting; > Setting.host = 192.168.1.233; > Setting.port = 5672; > Setting.username = "uniqueeye"; > Setting.password = "uniqueeye"; > Setting.virtualhost = "/"; > Setting.maxFrameSize = 65535; > Setting.mechanism = "PLAIN"; > connection.open(Setting); > > [root@localhost qpid]# /usr/sbin/sasldblistusers2 -f > /usr/local/qpid/var/lib/qpidd/qpidd.sasldb > uniqueeye@unique: userPassword > > i'm sure ,the username and password is right. The default broker realm is QPID. Have you specified --realm unique as a broker option? --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org