Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2003 15:13:05 +0200
From:      "Dennis Ortsen" <Dennis@pinetree.nl>
To:        freebsd-stable@freebsd.org
Subject:   pam-mysql and freebsd 4.7
Message-ID:  <3ed212be$0$49103$e4fe514c@news.xs4all.nl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ed212be$0$49103$e4fe514c>