Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 10:38:11 +0200 (CEST)
From:      Wolfgang Hottgenroth <woho@hottis.de>
To:        Dominic Marks <dom@wirespeed.org.uk>
Cc:        dom@cus.org.uk
Subject:   Re: pam_pgsql and saslauthd
Message-ID:  <Pine.LNX.4.53.0308271037010.29231@voldemort.de.uu.net>
In-Reply-To: <200308261832.55910.dom@wirespeed.org.uk>
References:  <Pine.LNX.4.53.0308261907360.29231@voldemort.de.uu.net> <200308261832.55910.dom@wirespeed.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks.

Is this a problem only related to the set of postfix, pam_pgsql and
saslauthd or is pam_pgsql on FreeBSD useless at all?


Cheers,
Wolfgang



On Tue, 26 Aug 2003, Dominic Marks wrote:

> 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,
>



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