Re: [Exim] working PLAIN authentication?

Góra strony
Delete this message
Reply to this message
Autor: Tamas TEVESZ
Data:  
Dla: Dirk Koopman
CC: exim-users
Temat: Re: [Exim] working PLAIN authentication?
On 27 May 2002, Dirk Koopman wrote:

> Has anyone got a working plain authentication going with a simple
> htpasswd generated type file (username:encrypted-passwd)?
>


 >                            {${extract{1}{:}{${lookup{$2}lsearch{/etc/exim/auth-users}{$value}}}}\


this is totally bogus. i'd be suprised if you found this in the exim
book, for `username:password'-style files. if you did, however, that
needs immediate correction. you just misunderstood something, though,
i'm quite confident on this.

the bogus part more exactly is this:

extract{1}{:}{lookup{$2}lsearch{/etc/exim/auth-users}

explanation:

in $2 there's the username

lookup{username}lsearch{passwdfile} returns you the password (encrypted or
not, this is not the point - it returns the PASSWORD, and solely the
password).

see now ? if not, feel free to say so, but please think about it
first.

--
[-]