You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "gerke forcare (JIRA)" <ji...@apache.org> on 2008/08/13 12:38:44 UTC
[jira] Created: (DIRSERVER-1229) KerberosProtocolHandler has server
and client swapped in logErrorMessage
KerberosProtocolHandler has server and client swapped in logErrorMessage
------------------------------------------------------------------------
Key: DIRSERVER-1229
URL: https://issues.apache.org/jira/browse/DIRSERVER-1229
Project: Directory ApacheDS
Issue Type: Bug
Components: kerberos
Affects Versions: 1.5.3
Environment: source-code review
Reporter: gerke forcare
Priority: Minor
One can read in the source (org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler logErrorMessage):
sb.append( "Responding to request with error:" );
sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
sb.append( "\n\t" + "error code: " + error.getErrorCode() );
sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
sb.append( "\n\t" + "client time: " + error.getServerTime() );
sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
sb.append( "\n\t" + "server time: " + error.getClientTime() );
which might need to read:
sb.append( "Responding to request with error:" );
sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
sb.append( "\n\t" + "error code: " + error.getErrorCode() );
sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
sb.append( "\n\t" + "client time: " + error.getClientTime() );
sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
sb.append( "\n\t" + "server time: " + error.getServerTime() );
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (DIRSERVER-1229) KerberosProtocolHandler has
server and client swapped in logErrorMessage
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny resolved DIRSERVER-1229.
------------------------------------------
Resolution: Fixed
Fixed : http://svn.apache.org/viewvc?rev=686874&view=rev
> KerberosProtocolHandler has server and client swapped in logErrorMessage
> ------------------------------------------------------------------------
>
> Key: DIRSERVER-1229
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1229
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: kerberos
> Affects Versions: 1.5.3
> Environment: source-code review
> Reporter: gerke forcare
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> One can read in the source (org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler logErrorMessage):
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getServerTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getClientTime() );
> which might need to read:
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getClientTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getServerTime() );
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1229) KerberosProtocolHandler has
server and client swapped in logErrorMessage
Posted by "gerke forcare (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623956#action_12623956 ]
gerke forcare commented on DIRSERVER-1229:
------------------------------------------
thanks
> KerberosProtocolHandler has server and client swapped in logErrorMessage
> ------------------------------------------------------------------------
>
> Key: DIRSERVER-1229
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1229
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: kerberos
> Affects Versions: 1.5.3
> Environment: source-code review
> Reporter: gerke forcare
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> One can read in the source (org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler logErrorMessage):
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getServerTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getClientTime() );
> which might need to read:
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getClientTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getServerTime() );
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DIRSERVER-1229) KerberosProtocolHandler has
server and client swapped in logErrorMessage
Posted by "gerke forcare (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622162#action_12622162 ]
gerke forcare commented on DIRSERVER-1229:
------------------------------------------
I just thought that it might be useful to know that the server and client times (error.getServerTime()/error.getClientTime()) have been swapped. (diff would have shown, but it's hard to see from the code snippets given above. Sorry.
> KerberosProtocolHandler has server and client swapped in logErrorMessage
> ------------------------------------------------------------------------
>
> Key: DIRSERVER-1229
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1229
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: kerberos
> Affects Versions: 1.5.3
> Environment: source-code review
> Reporter: gerke forcare
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> One can read in the source (org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler logErrorMessage):
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getServerTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getClientTime() );
> which might need to read:
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getClientTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getServerTime() );
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRSERVER-1229) KerberosProtocolHandler has server
and client swapped in logErrorMessage
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-1229.
----------------------------------------
closed
> KerberosProtocolHandler has server and client swapped in logErrorMessage
> ------------------------------------------------------------------------
>
> Key: DIRSERVER-1229
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1229
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: kerberos
> Affects Versions: 1.5.3
> Environment: source-code review
> Reporter: gerke forcare
> Priority: Minor
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> One can read in the source (org.apache.directory.server.kerberos.protocol.KerberosProtocolHandler logErrorMessage):
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getServerTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getClientTime() );
> which might need to read:
> sb.append( "Responding to request with error:" );
> sb.append( "\n\t" + "explanatory text: " + error.getExplanatoryText() );
> sb.append( "\n\t" + "error code: " + error.getErrorCode() );
> sb.append( "\n\t" + "clientPrincipal: " + error.getClientPrincipal() );
> sb.append( "\n\t" + "client time: " + error.getClientTime() );
> sb.append( "\n\t" + "serverPrincipal: " + error.getServerPrincipal() );
> sb.append( "\n\t" + "server time: " + error.getServerTime() );
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.