Re: [Exim] smtp auth

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ilya
Date:  
À: exim-users
Sujet: Re: [Exim] smtp auth
here is what -d9 yeilded:
lookup yielded: 70b34346480b78b3
plain authenticator:
$1 =
$2 = ilya
$3 = plaintextpassword

i have tried to change the password in database to unecrypted, but got the
same result:
internal_search_find: file="NULL"
type=mysql key="SELECT password FROM users WHERE user='user'"
database lookup required for SELECT password FROM users WHERE user='user'
MYSQL query: SELECT password FROM users WHERE user='user'
MYSQL new connection: host=localhost port=0 database=db user=u password=p
lookup yielded: palintextpass
plain authenticator:
$1 =
$2 = user
$3 = palintextpass
expanded string: no
SMTP>> 535 Incorrect authentication data

LOG: 0 MAIN REJECT
Authentication failed for (windows) [192.168.0.1]: 535 Incorrect
authentication data

looks like password is actually $3 and user $2, $1 is empty. i am now
completly confused.

----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "Ilya" <maillist@???>
Cc: <exim-users@???>
Sent: Wednesday, January 17, 2001 4:14 PM
Subject: Re: [Exim] smtp auth


> On Wed, 17 Jan 2001, Ilya wrote:
>
> > LOG: 0 MAIN REJECT
> > Authentication failed for (windows) [192.168.0.1]: 435 Unable to
> > authenticate at present: "lookup" failed and "fail" requested
>
> Do you get any more information with -d9? Why does the lookup fail?
> Could there be a permissions problem here?
>
> > login:
> >   driver = plaintext
> >   public_name = LOGIN
> >   server_prompts = "Username:: : Password::"
> >   server_condition = "${if and { \
> >                         {!eq{${quote_mysql:${local_part:$1}}}{}} \
> >                         {!eq{${quote_mysql:${local_part:$2}}}{}} \

>
> Why are you applying ${local_part} to $2? Isn't that supposed to be the
> password?
>
> --
> Philip Hazel            University of Cambridge Computing Service,
> ph10@???      Cambridge, England. Phone: +44 1223 334714.

>
>