From owner-freebsd-ports@FreeBSD.ORG Mon May 26 06:12:03 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF4AD37B401 for ; Mon, 26 May 2003 06:12:03 -0700 (PDT) Received: from smtpzilla1.xs4all.nl (smtpzilla1.xs4all.nl [194.109.127.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6026743FBF for ; Mon, 26 May 2003 06:12:02 -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 h4QDBxjG009595 for ; Mon, 26 May 2003 15:12:00 +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 h4QDBxPP027296 for ; Mon, 26 May 2003 15:11:59 +0200 (CEST) Received: (from root@localhost) by list1.xs4all.nl (8.12.9/8.12.9/Submit) id h4QDBxP1027293; Mon, 26 May 2003 15:11:59 +0200 (CEST) From: "Dennis Ortsen" To: freebsd-ports@freebsd.org X-Via: news2mail at list1.xs4all.nl Date: Mon, 26 May 2003 15:12:32 +0200 Message-ID: <3ed2129d$0$49105$e4fe514c@news.xs4all.nl> Subject: pam-mysql and freebad 4.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 13:12:04 -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