If I understand you correctly then you are in luck and you do not need
to do a lot.
Make sure you compile exim with pam (SUPPORT_PAM=yes in Local/Makefile)
then in your /etc/pam.d directory add a file called exim with as
content:
---snip---
#%PAM-1.0
auth sufficient /lib/security/pam_ldap.so
auth required /lib/security/pam_unix_auth.so try_first_pass
account sufficient /lib/security/pam_ldap.so
account required /lib/security/pam_unix_acct.so
---snip---
I have the following authenticator:
----snip----
plain:
driver= plaintext
public_name = PLAIN
server_prompts = :
server_condition = ${if pam{$2:${sg{$3}{:}{::}}}{yes}{no}}
server_set_id = $2
----snip----
that's it
Ron
On Mon, 2002-12-23 at 19:28, Matt Sealey wrote:
> Can anyone point me at the man page, document or webpage that
> explains how I can use saslauthd or pam to authenticate smtp
> sessions? I seem to have set hosts_auth_allow_relay = * but
> I need to set up the "authenticators at the bottom of the file".
>
> A simple PLAIN login would do, but the examples don't seem to
> get their data from pam or saslauthd - instead we're looking
> at /etc/exim/passwd, or coding the password (or crypt()'d
> secret) right into the configuration file..
>
> So.. please does anyone know where I should be looking for
> enlightenment on this subject? Thanks.
>
> --
> Matt Sealey <matt@???>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
--
Ron Smits
www:
www.ronsmits.org and
www.ron-kitten.net