RE: [Exim] SMTP auth & PAM

Top Page
Delete this message
Reply to this message
Author: John Horne
Date:  
To: exim-users
Subject: RE: [Exim] SMTP auth & PAM
On 10-Dec-00 at 09:53:24 Simon Atack (Uni) wrote:
> I am trying to get SMTP auth to work using PAM I have the following in my
> config file
>
> plain:
> driver = plaintext
> public_name = PLAIN
>
> server_condition = "${if pam{$2:$3}{1}{0}}"
> server_set_id = $2
>
> login:
> driver = plaintext
> public_name = LOGIN
> server_prompts = "Username:: : Password::"
> server_condition = "${if pam($1:$2){1}{0}}"

                               ^     ^


I have absolutely no idea if this is relevant but you have used braces
(curly brackets) in the first 'server condition' and parentheses in the
second. I would have thought one of them was perhaps wrong? Could be wrong
myself...:-)

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers