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 1467C92BE for ; Thu, 10 Nov 2011 05:39:21 +0000 (UTC) Received: (qmail 61685 invoked by uid 500); 10 Nov 2011 05:39:20 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 61581 invoked by uid 500); 10 Nov 2011 05:39:16 -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 61566 invoked by uid 99); 10 Nov 2011 05:39:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 05:39:14 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bpedman@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-wy0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2011 05:39:08 +0000 Received: by wyg10 with SMTP id 10so2596535wyg.15 for ; Wed, 09 Nov 2011 21:38:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=9mk5q3GZ3ghZRxaLco4hKKlfk0aXoBppR/sKubas2G4=; b=mDnJ6U60fAsmRD3TV+SAzbLDrdasvB64LvbFjKTG2kUYVS8LkMuIN7Dt7U+lcZSxIJ +LU1dY0uXYsXtrO3TfXt0eWP/0RYZCpjxwbeWZ2mejWOBVRZrmedq/IvisMGYoWVDlZ4 TqKw7LW4nwGxN67gAdVbLRBpOohGQmOXZ7I1M= Received: by 10.180.20.134 with SMTP id n6mr6643316wie.49.1320903527092; Wed, 09 Nov 2011 21:38:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.97.227 with HTTP; Wed, 9 Nov 2011 21:38:25 -0800 (PST) From: Brandon Pedersen Date: Wed, 9 Nov 2011 22:38:25 -0700 Message-ID: Subject: sasl authentication problems with c++ broker To: users@qpid.apache.org Content-Type: text/plain; charset=ISO-8859-1 I am running the C++ 0.12 broker. I have setup authentication but it isn't working correctly. In my qpidd.conf file I have: auth=yes realm=QPID sasl-config=/etc/qpid/sasl In the /etc/qpid/sasl directory I have a qpidd.conf file with: pwcheck_method: auxprop auxprop_plugin: sasldb sasldb_path: /etc/qpid/qpidd.sasldb I list the users and see: # sasldblistusers2 -f /etc/qpid/qpidd.sasldb admin@QPID: userPassword I also made sure I set the password correctly by doing: saslpasswd2 -cf /etc/qpid/qpidd.sasldb -u QPID admin However, when I start the broker and just run qpid-config -a admin/admin@localhost exchanges the following shows in the log: info SASL: Mechanism list: DIGEST-MD5 PLAIN NTLM LOGIN ANONYMOUS CRAM-MD5 Nov 10 05:25:17 p2459055 qpidd[5851]: debug SASL: Starting authentication with mechanism: PLAIN Nov 10 05:25:17 p2459055 qpidd[5851]: info SASL: Authentication failed for admin@QPID:SASL(-13): user not found: Password verification failed Nov 10 05:25:17 p2459055 qpidd[5851]: debug Exception constructed: Authentication failed Am I missing something? Thanks, -Brandon --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org