pam_pgsql and saslauthd

Dominic Marks dom at wirespeed.org.uk
Tue Aug 26 10:33:34 PDT 2003


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 at katjusha:/usr/lib$ ls -l pam_pgsql.so
> -r--r--r--  1 root  wheel  14052 Aug 26 15:44 pam_pgsql.so
> root at 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>



More information about the freebsd-ports mailing list