Shadow and PAM, was Re: [Exim] server_condition in SMTP AUTH

Top Page
Delete this message
Reply to this message
Author: Dr Andrew C Aitchison
Date:  
To: F?bio Berbert de Paula
CC: exim-users
Old-Topics: [Exim] server_condition in SMTP AUTH
Subject: Shadow and PAM, was Re: [Exim] server_condition in SMTP AUTH
On Mon, 29 Oct 2001, F?bio Berbert de Paula wrote:

> I've a Debian Potato 2.2 system with exim installed and I'd
> like to use SMTP AUTH for my clients.
>
> My problem is with the server_condition, according the config
> example C034, the line bellow:
>
> server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}} \
> {crypteq{$3}{${extract{2}{:} \
> {${lookup{$2}lsearch{/etc/passwd}{$value}{*:*}}}}}}}{1}{0}}"
>
> is used for non-shadow passwd. I changed it to /etc/shadow, because
> I use shadowed passwd. Well, no success.


Because exim and shadow are both suitably paranoid, you can't just use
shadow authentication the way you use most of the alternatives.

See
http://www.exim.org/mailman/htdig/exim-users/Week-of-Mon-20010917/030371.html
and
    http://www.e-admin.de/pam_exim/
for a possible solution.


-- 
Dr. Andrew C. Aitchison        Computer Officer, DPMMS, Cambridge
A.C.Aitchison@???    http://www.dpmms.cam.ac.uk/~werdna