Re: [Exim] plain auth match using crypteq

Top Page
Delete this message
Reply to this message
Author: Mark Foster
Date:  
To: Stephen Gran
CC: exim-users
Subject: Re: [Exim] plain auth match using crypteq
Stephen Gran wrote:
> plain_file_server:
>    driver = plaintext
>    public_name = PLAIN
>    server_condition = "${if crypteq{$3}{${extract{1}{:}{${lookup{$2}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
>    server_set_id = $2
>    server_prompts = :

>
> Is what works for me. Sorry about the wrap.


Thanks, this also worked for me. Ironic that even though my authplain
contained an md5 formatted password, specifying md5 in the
server_condition caused a failure. Without it, exim claimed it was using
crypt() and (yet) matched the md5 password correctly.

--
Some days it's just not worth chewing through the restraints...
Mark D. Foster, CISSP <mark@???> http://mark.foster.cc/