Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2004 22:14:35 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Curtis Vaughan <curtis@npc-usa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: postfix w/pam
Message-ID:  <41C34C3B.4060204@locolomo.org>
In-Reply-To: <37A692BA-506A-11D9-B943-000393934006@npc-usa.com>
References:  <37A692BA-506A-11D9-B943-000393934006@npc-usa.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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