Re: [Exim] Problem with netscape 4.x 6.x and 7.x autenticati…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: James P. Roberts
Dátum:  
Címzett: Piotr Galecki, exim-users
CC: dan
Tárgy: Re: [Exim] Problem with netscape 4.x 6.x and 7.x autentication
----- Original Message -----
From: "Piotr Galecki" <pgalecki@???>
To: <exim-users@???>
Cc: <dan@???>
Sent: Tuesday, November 25, 2003 5:42 AM
Subject: Re: [Exim] Problem with netscape 4.x 6.x and 7.x autentication


> On Tue, Nov 25, 2003 at 09:50:03AM +0000, Daniel Bird wrote:
> >
> >
> > Piotr Galecki wrote:
> >
> > >Hi,
> > >
> > >I have installed exim 4.24 and saslauthd 2.1.15
> > >saslauthd is started with pam options
> > >./saslauthd -a pam -n10
> > >
> > >exim configured with authentication:
> > >
> > >######################################################################
> > >#                   AUTHENTICATION CONFIGURATION                     #
> > >######################################################################

> > >
> > ># There are no authenticator specifications in this default configuration
> > >file.
> > >
> > >begin authenticators
> > >
> > >plain:
> > > driver = plaintext
> > > public_name = PLAIN
> > > server_condition = ${if saslauthd{{$1}{$3}{smtp}}{1}{0}}
> > > server_set_id = $2
> > >
> > >login:
> > > driver = plaintext
> > > public_name = LOGIN
> > > server_prompts = "Username:: : Password::"
> > > server_condition = ${if saslauthd{{$1}{$2}{smtp}}{1}{0}}
> > > server_set_id = $1
> > >
> > >
> > >When I send mail from Outlook or Mozilla authentication works fine
> > >When I send mail from Netscape clients (all version) authentication
> > >doesn't work
> > >properly. In exim_rejectlog I found:
> > >
> > >2003-11-24 18:37:18 plain authenticator failed for test.wpk.p.lodz.pl
> > >(posejdon.wpk.p.lodz.pl) [212.191.76.7]: 535 Incorrect authentication

data
> > >(set_id=test)
> > >
> > >and in log:
> > >Nov 24 18:37:18 posejdon saslauthd[22810]: [ID 285309 auth.error]
> > >do_request      : NULL login received

> > >
> > >Please send me an information how I can correct this problem.
> > >
> > I think the problem is NS4-7 needs server prompts in the PLAIN driver
> >
> > try
> >
> > plain:
> > driver = plaintext
> > public_name = PLAIN
> > server_prompts = :
> > server_condition = ${if saslauthd{{$1}{$3}{smtp}}{1}{0}}
> > server_set_id = $2
> >
> >
> > Dan
> > --
> > ____________________________________
> >
> > Daniel Bird
> > Network and Systems Manager
> > Department Of Information Services
> > St. George's Hospital Medical School
> > Tooting
> > London SW17 0RE
> >
> > P: +44 20 8725 2897
> > F: +44 20 8725 3583
> > E: dan@???
> > ____________________________________
> >
> > Everything is possible....except skiing through a revolving door
> >
> >
>
> I add server prompts in the PLAIN driver but
> this not correct my problem. Authentication is still failed.
>
> Piotr
> --
>
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>  Wydzialowa Pracownia Komputerowa        Piotr Galecki
>  wydz. EiE Politechniki Lodzkiej         pgalecki@???
>  ul. B.Stefanowskiego 18/22
>  90-537 Lodz                             tel.(+48 42) 6312529
>  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>


I am thinking, and I could be wrong, that you might want to use:

server_condition = ${if saslauthd{{$2}{$3}{smtp}}{1}{0}}
                                   ^^
  instead of:


server_condition = ${if saslauthd{{$1}{$3}{smtp}}{1}{0}}

(For the same reason that you use server_set_id = $2, instead of $1)

Regards,
Jim Roberts
Punster Productions, Inc.