Re: [Exim] Basic Auth question

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Mark Lehrer
CC: exim-users
Betreff: Re: [Exim] Basic Auth question
On Mon, 29 Jul 2002, Mark Lehrer wrote:

> 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_condition="${if pam{$1:$2}{1}{0}}"
> server_prompts="Username:: : Password::"
> server_set_id=$1
>
> This makes authentication work nicely, although figuring out how
> to do this was difficult. Is this configured the same in 4.x,
> or is it easier? I'm trying to prepare for a version upgrade.


Authentication in Exim 4 is the same as in Exim 3.

Note that, strictly, you should add

server_prompts = :

to your "plain" authenticator. This was something I learned relatively
recently. (The specification of PLAIN authentication isn't exactly clear
on this point.) The later documentation does have this in the examples.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.