james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Resolved: (JAMES-233) SMTP AUTH PLAIN doesn't work
Date Mon, 22 Mar 2004 06:14:58 GMT
Message:

   The following issue has been resolved as FIXED.

   Resolver: Noel J. Bergman
       Date: Sun, 21 Mar 2004 10:14 PM

Fixed CVS for 2.2.0a16.  See http://cvs.apache.org/viewcvs.cgi/james-server/src/java/org/apache/james/smtpserver/SMTPHandler.java?r1=1.35.4.16&r2=1.35.4.17&diff_format=h

Basic fix is:

 - user = authTokenizer.nextToken();
 - pass = authTokenizer.nextToken();
 + String authorize_id = authTokenizer.nextToken();
 + user = authTokenizer.nextToken();
 + try {
 +   pass = authTokenizer.nextToken();
 + }
 + catch (java.util.NoSuchElementException _) {
 +   pass = user;
 +   user = authorize_id;
 + }
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=JAMES-233

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-233
    Summary: SMTP AUTH PLAIN doesn't work
       Type: Bug

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: James
 Components: 
             SMTPServer
   Fix Fors:
             2.2.0a16
   Versions:
             2.0a3
             2.1.3
             2.2.0a15

   Assignee: Noel J. Bergman
   Reporter: Noel J. Bergman

    Created: Sun, 21 Mar 2004 10:10 PM
    Updated: Sun, 21 Mar 2004 10:14 PM
Environment: Clie Mail

Description:
Reported by Chris Means

> I keep getting a SMTP Authentication Failed (535).
> smtpserver: Command received: AUTH PLAIN Y21lYW5zAGNtZWFucwBaYXBob2Q=

It appears that our AUTH PLAIN implementation is wrong.  Outlook works because it uses AUTH
LOGIN, which we do have implemented properly.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message