You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2010/05/31 19:20:40 UTC

[jira] Resolved: (JAMES-1011) auth login failed

     [ https://issues.apache.org/jira/browse/JAMES-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1011.
----------------------------------

    Fix Version/s: 3.0-M1
       Resolution: Fixed

Fixed. Please try latest trunk. Thx for reporting!

> auth login failed
> -----------------
>
>                 Key: JAMES-1011
>                 URL: https://issues.apache.org/jira/browse/JAMES-1011
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: Trunk
>            Reporter: tadpale
>            Assignee: Norman Maurer
>             Fix For: 3.0-M1
>
>
> hi all:
> i have smtpserver configurated with authRequired=true, and try to verify it by telnet client as follow:
>     auth login
>     > 334  username
>     myname
>     > 334 password
>     mypass
> then prompt
>     > 334 password
> again and again whatever i input
> i have found the problem in org.apache.james.protocols.smtp.core.esmtp.AuthCmdHandler.java
> when invoke doAUTH() method first, session.pushLineHandler will be executed if initialResponse == null 
> whitch means i have "auth login" inputed but "auth login myname", 
> next, doLoginAuthPass in onCommand will call session.pushLineHandler again after myname input.
> linehandler queue in session have 2 handlers now. one is for pass and the other is for user.
> but, it will be then poped up after AbstractSMTPLineHandler executed handleCommand in onLine method.
> so the hanlder for password "lost" and it prompt 334 password again which producted by username  handler

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org