From owner-freebsd-questions@FreeBSD.ORG Mon Mar 8 22:46:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4718D16A4CE for ; Mon, 8 Mar 2004 22:46:16 -0800 (PST) Received: from spock.ste-land.com (spock.ste-land.com [64.32.179.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27B3B43D46 for ; Mon, 8 Mar 2004 22:46:16 -0800 (PST) (envelope-from ste@ste-land.com) Received: from ste-land.com (bgp377940bgs.plnfld01.nj.comcast.net [68.36.5.198]) by spock.ste-land.com (Postfix) with ESMTP id 861052D24C for ; Tue, 9 Mar 2004 01:46:15 -0500 (EST) Message-ID: <404D6837.2020700@ste-land.com> Date: Tue, 09 Mar 2004 01:46:15 -0500 From: "Shaun T. Erickson" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: sasl2-->saslauthd-->pam-->mysql issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 06:46:16 -0000 If I set pwcheck_method to auxprop and authenticate against sasldb2 which has a single user of "ste@gaamc-lists.org" in it, along with it's password, I can auth just fine from mozilla, where I told it my user name was "ste@gaamc-lists.org". However, if I change it from auxprop to saslauthd, which calls pam, which does a mysql lookup instead, it fails. It opens the correct database and table, and selects the right fields, but it asks for a username of "ste", instead of "ste@gaamc-lists.org", so it doesn't find the password, and fails. Why is it only asking for "ste", and how do I get it to ask for the right value? TIA -ste