From owner-freebsd-ports@FreeBSD.ORG Mon Oct 1 15:06:30 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E71BA16A419 for ; Mon, 1 Oct 2007 15:06:30 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from chronos.org.uk (unknown [IPv6:2001:618:400::5298:8c8a]) by mx1.freebsd.org (Postfix) with ESMTP id 3922B13C478 for ; Mon, 1 Oct 2007 15:06:30 +0000 (UTC) (envelope-from matt@chronos.org.uk) Received: from workstation1.local.chronos.org.uk (workstation1.local.chronos.org.uk [IPv6:2001:618:400:6f4e:20f:eaff:fe3b:608f]) (authenticated bits=0) by chronos.org.uk (8.13.8/8.13.8) with ESMTP id l91F4xli085720 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Oct 2007 16:05:00 +0100 (BST) (envelope-from matt@chronos.org.uk) Authentication-Results: chronos.org.uk from=matt@chronos.org.uk; sender-id=permerror; spf=permerror X-SenderID: Sendmail Sender-ID Filter v0.2.14 chronos.org.uk l91F4xli085720 DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=chronos.org.uk; s=dktest; t=1191251102; bh=dnoCTHQyAuHIJakYlBcJ5XdXPSA=; h=From:To: Subject:Date:User-Agent:References:In-Reply-To:Cc:X-Face: MIME-Version:Content-Type:Content-Transfer-Encoding: Content-Disposition:Message-Id:X-Spam-Status: X-Spam-Checker-Version:X-Virus-Scanned:X-Virus-Status; b=QJBWxAVLu wDdkkBeY2y/ciUM56k37LKMuT0T9t1EknLWTNCeH91Rf/Zh46Lfi4rBbNjhtkN/gJyk 7Q6FOXWgBIh5LIJRsZJL08ez/5TU3/xh9rz1xvn+CehlhkO0lQcb4gO3kv6LLFXZhIO DE6KdmLkHGyrLxh7lHK8PmP7htpM= From: Matt Dawson To: Lee Dilkie Date: Mon, 1 Oct 2007 16:04:58 +0100 User-Agent: KMail/1.9.7 References: <200710011331.06491.matt@chronos.org.uk> <47010153.9070303@Dilkie.com> In-Reply-To: <47010153.9070303@Dilkie.com> X-Face: Uq{{&_!oO{M&ydj?-f%{D]bN7/|/]a+utod35[+IyH#R>F~YPffK,=?utf-8?q?=25=60=7D=25=0A?= FTMbmzo,]0X3K:N&{h7],FI{?EkORzB; f:V3"vKXsUNw5Yh`}ef4MZ*a4,=?utf-8?q?ObuJ=5F=26=5B1S=27zP=5CK0wcKZP=0A?= =?utf-8?q?_=60=23L=25=5Dq*OUPQ-4T=3FHZ=7EAKX0=7D3W=25o=3DP?= X-Spam-Status: No, score=-2.5 required=3.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on central.local.chronos.org.uk X-Virus-Scanned: ClamAV 0.91.2/4445/Mon Oct 1 09:32:46 2007 on central.local.chronos.org.uk X-Virus-Status: Clean Cc: freebsd-ports@freebsd.org Subject: Re: imap-uw-2006j_2,1, cclient-2006g_1,1 PAM problems? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2007 15:06:31 -0000 On Monday 01 Oct 2007, you wrote: > I had to roll back as well. > > Best I could tell was that the credentials presented to pam were the > userid and userid (instead of password), at least that's what the logs > looked like to me. > > -lee I forgot to mention that I tried a telnet session to the POP3 server. user gets "+OK username accepted, password please" but pass results in -ERR bad login. Something else I failed to mention is that both cclient and imap-uw were compiled with WITH_SSL_AND_PLAINTEXT, which may have a bearing on the issue. /var/log/auth.log does show user and auth pairs matching, although this happens when I deliberately pass bad information to the working server. It also fails to account for LOGIN authentication methods failing. I rather think that there is something PAM related, although I'm just guessing here and can't really test my theory on a production server. The server does not validate usernames immediately (it accepts an invalid username with a "+OK username accepted, password please" on the working version), so perhaps acceptance of a valid username is a red herring. -- Matt Dawson. matt@chronos.org.uk MTD15-RIPE OpenNIC M_D9 MD51-6BONE