Re: [Exim] plain auth match using crypteq

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mark Foster
Date:  
À: Stephen Gran
CC: exim-users
Sujet: 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/