From owner-freebsd-ports@FreeBSD.ORG Wed Aug 27 01:38:34 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 A2C3316A4BF for ; Wed, 27 Aug 2003 01:38:34 -0700 (PDT) Received: from inbound.hottis.de (postbote.hottis.de [213.70.191.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 859F343FE3 for ; Wed, 27 Aug 2003 01:38:33 -0700 (PDT) (envelope-from woho@hottis.de) X-Authenticated-As: wntest at inbound.hottis.de Received: from voldemort.de.uu.net (voldemort.de.uu.net [139.4.38.117]) (authenticated bits=0) by inbound.hottis.de (8.12.9/8.12.9) with ESMTP id h7R8cP6d016849; Wed, 27 Aug 2003 10:38:25 +0200 Date: Wed, 27 Aug 2003 10:38:11 +0200 (CEST) From: Wolfgang Hottgenroth X-X-Sender: who@voldemort.de.uu.net To: Dominic Marks In-Reply-To: <200308261832.55910.dom@wirespeed.org.uk> Message-ID: References: <200308261832.55910.dom@wirespeed.org.uk> X-Best-Before: 31.12.1999 X-Warning: Do not touch this header! Priority: normal Importance: normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@freebsd.org cc: des@des.no cc: dom@cus.org.uk Subject: Re: pam_pgsql and saslauthd 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: Wed, 27 Aug 2003 08:38:34 -0000 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, >