Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2003 18:32:55 +0000
From:      Dominic Marks <dom@wirespeed.org.uk>
To:        Wolfgang Hottgenroth <woho@hottis.de>, ports@freebsd.org
Cc:        dom@cus.org.uk
Subject:   Re: pam_pgsql and saslauthd
Message-ID:  <200308261832.55910.dom@wirespeed.org.uk>
In-Reply-To: <Pine.LNX.4.53.0308261907360.29231@voldemort.de.uu.net>
References:  <Pine.LNX.4.53.0308261907360.29231@voldemort.de.uu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 26 August 2003 5:14 pm, Wolfgang Hottgenroth wrote:
> Hi,
>
>
> I try to set up postfix + pam_pgsql + saslauthd and ran into the
> following error message in /var/log/auth.log:
>
> Aug 26 19:09:12 katjusha saslauthd[29768]: in
> openpam_load_module(): no pam_pgsql.so found Aug 26 19:09:12
> katjusha saslauthd[29768]: do_auth         : auth failure:
> [user=wntest] [service=smtp] [realm=] [mech=pam]
>
> pam_pgsql.so is definitely available in /usr/lib:
>
> root@katjusha:/usr/lib$ ls -l pam_pgsql.so
> -r--r--r--  1 root  wheel  14052 Aug 26 15:44 pam_pgsql.so
> root@katjusha:/usr/lib$
>
>
> I'm working on 5.1-p2 and the latest ports collection, in
> particular:
>
> pam-pgsql-0.5.2_7
> cyrus-sasl-2.1.13_2
>
>
> I've already seen a discussion (between Dominic and Dag-Erling)
> about this issue when googling for it, but unfortunately it was an
> open discussion and I didn't found the end with the solution. (May
> be one of you both could give a hint?)
>
> Has anyone else also seen this problem and could give me a hint?
>
>
> Thanks,
> Wolfgang

The pam_pgsql module needs some serious modifications to it to be 
compatible with OpenPAM. I have some hacks to make it sort-of work 
but I do not intend on publishing them because there could be 101 
security flaws in the code.

I ended up using PostgreSQL and Postfix in the end.

Thanks,
-- 
Dominic <dom at wirespeed.org.uk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308261832.55910.dom>