From owner-freebsd-stable@FreeBSD.ORG Mon May 26 06:12:33 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AED1E37B407 for ; Mon, 26 May 2003 06:12:33 -0700 (PDT) Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id A166643FA3 for ; Mon, 26 May 2003 06:12:32 -0700 (PDT) (envelope-from Dennis@pinetree.nl) Received: from list1.xs4all.nl (list1.xs4all.nl [194.109.6.52]) by smtpzilla1.xs4all.nl (8.12.9/8.12.9) with ESMTP id h4QDCVjG009937 for ; Mon, 26 May 2003 15:12:32 +0200 (CEST) Received: from list1.xs4all.nl (localhost.xs4all.nl [127.0.0.1]) by list1.xs4all.nl (8.12.9/8.12.9) with ESMTP id h4QDCVPP027448 for ; Mon, 26 May 2003 15:12:31 +0200 (CEST) Received: (from root@localhost) by list1.xs4all.nl (8.12.9/8.12.9/Submit) id h4QDCVUp027445; Mon, 26 May 2003 15:12:31 +0200 (CEST) From: "Dennis Ortsen" To: freebsd-stable@freebsd.org X-Via: news2mail at list1.xs4all.nl Date: Mon, 26 May 2003 15:13:05 +0200 Message-ID: <3ed212be$0$49103$e4fe514c@news.xs4all.nl> Subject: pam-mysql and freebsd 4.7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 13:12:34 -0000 Hi everyone, I'm using freebsd 4.7 and want to authenticate some services using the pam-mysql module. I can authenticate successfully when I use the normal out-of-the-box methods, but when I try to use the pam-mysql module, I get nothing... I've got postfix running, and postfix is succesfully using mysql thanks to it's great usability. But when I want to use Courier IMAP/POP to work with pam-mysql (in /etc/pam.conf), it doesn't appear to work at all... Normally, when you cd yourself into a ported application (/usr/ports/security/pam-mysql) and type make, followed by make install and when needed, follow any other instructions on the screen, it'll work. I turned on loggin in mysql, so I can see any connection made and any select statement made, but the attempts used with pam-mysql are not logged at all. Which simply means that pam-mysql can't even connect to the mysql server. I've been searching with my friend Google, but can't find anyhting that might help me... It's very likely that I overlooked a few things, but I'm kinda wandering in a maze right now... I'm stuck... What I did was install a plain FreeBSD 4.7 from the CD's. I selected the maximum security (which means no service is started by default). Next, I installed a plain mysql. I installed a plain postfix with mysql support. I installed a plain Courier-IMAP/POP3. When I use the default pam authentication methods, no problem, everything works fine. But as soon as I want to use pam-mysql for POP3 and IMAP, no connection is made to mysql... What am I missing here??? Any help much appreciated.. Thanks, Dennis Ortsen Dennis@pinetree.nl