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 "Thomas UNG (JIRA)" <ji...@apache.org> on 2011/07/17 12:27:00 UTC
[jira] [Created] (PROTOCOLS-26) Make AUTH method failed string a
more useful error message
Make AUTH method failed string a more useful error message
----------------------------------------------------------
Key: PROTOCOLS-26
URL: https://issues.apache.org/jira/browse/PROTOCOLS-26
Project: JAMES Protocols
Issue Type: Improvement
Components: smtp
Affects Versions: 1.5
Reporter: Thomas UNG
Assignee: Norman Maurer
Priority: Minor
Fix For: 1.5
Have security sensitive information in log when auth login has failed
- // TODO: Make this string a more useful error message
- session.getLogger().error("AUTH method "+authType+" failed");
+ session.getLogger().error("AUTH method "+authType+" failed from " + user + "@" + session.getRemoteIPAddress());
--
This message is automatically generated by JIRA.
For more information on JIRA, 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
[jira] [Resolved] (PROTOCOLS-26) Make AUTH method failed string a
more useful error message
Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PROTOCOLS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved PROTOCOLS-26.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.5)
1.6
Committed. Sorry for the delay and thanks for the patch!
> Make AUTH method failed string a more useful error message
> ----------------------------------------------------------
>
> Key: PROTOCOLS-26
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-26
> Project: JAMES Protocols
> Issue Type: Improvement
> Components: smtp
> Affects Versions: 1.5
> Reporter: Thomas UNG
> Assignee: Norman Maurer
> Priority: Minor
> Labels: patch
> Fix For: 1.6
>
> Attachments: AuthCmdHandler.java
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Have security sensitive information in log when auth login has failed
> - // TODO: Make this string a more useful error message
> - session.getLogger().error("AUTH method "+authType+" failed");
> + session.getLogger().error("AUTH method "+authType+" failed from " + user + "@" + session.getRemoteIPAddress());
--
This message is automatically generated by JIRA.
For more information on JIRA, 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
[jira] [Updated] (PROTOCOLS-26) Make AUTH method failed string a
more useful error message
Posted by "Thomas UNG (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PROTOCOLS-26?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas UNG updated PROTOCOLS-26:
--------------------------------
Attachment: AuthCmdHandler.java
update for lines 344 and 357
session.getLogger().error("AUTH method "+authType+" failed from " + user + "@" + session.getRemoteIPAddress());
> Make AUTH method failed string a more useful error message
> ----------------------------------------------------------
>
> Key: PROTOCOLS-26
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-26
> Project: JAMES Protocols
> Issue Type: Improvement
> Components: smtp
> Affects Versions: 1.5
> Reporter: Thomas UNG
> Assignee: Norman Maurer
> Priority: Minor
> Labels: patch
> Fix For: 1.5
>
> Attachments: AuthCmdHandler.java
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Have security sensitive information in log when auth login has failed
> - // TODO: Make this string a more useful error message
> - session.getLogger().error("AUTH method "+authType+" failed");
> + session.getLogger().error("AUTH method "+authType+" failed from " + user + "@" + session.getRemoteIPAddress());
--
This message is automatically generated by JIRA.
For more information on JIRA, 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