From owner-freebsd-questions@FreeBSD.ORG Fri Dec 17 21:14:39 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4641116A4CE for ; Fri, 17 Dec 2004 21:14:39 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64B8943D2D for ; Fri, 17 Dec 2004 21:14:38 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id C71BFFD008; Fri, 17 Dec 2004 22:14:36 +0100 (CET) Message-ID: <41C34C3B.4060204@locolomo.org> Date: Fri, 17 Dec 2004 22:14:35 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041114 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: Curtis Vaughan References: <37A692BA-506A-11D9-B943-000393934006@npc-usa.com> In-Reply-To: <37A692BA-506A-11D9-B943-000393934006@npc-usa.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: postfix w/pam X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Dec 2004 21:14:39 -0000 Curtis Vaughan wrote: > Can anyone tell me whether I have to install/build postfix w/pam support > (if I want it to use pam). Or can I just do a make install of postfix, > as well as of pam_ldap and nss_ldap, edit the appropriate files in > /etc/pam.d/ and it should work? > > I have installed map_ldap and nss_ldap and have edited: > /usr/local/etc/ldap.conf > /etc/nsswitch.conf > files within /etc/pam.d, particularly /etc/pam.d/ldap, ./imap and ./sshd > and ./su > /usr/local/etc/nss_ldap.conf > > But nonetheless it's not working with postfix (smtp) or with > courier-imap (ssh works fine with pam). It seems plausible that if you want postfix or courier to authenticate using pam, then they must be built with support for pam. I have postfix working using cyrus-sasl with saslauthd - you might want to take a look at that solution also. Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2