You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2017/02/23 12:19:44 UTC

[jira] [Resolved] (DIRKRB-619) KdcConnection suppresses Exception

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

Emmanuel Lecharny resolved DIRKRB-619.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0-RC1

Patch applied with http://svn.apache.org/viewvc?rev=1784116&view=rev

> KdcConnection suppresses Exception
> ----------------------------------
>
>                 Key: DIRKRB-619
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-619
>             Project: Directory Kerberos
>          Issue Type: Improvement
>            Reporter: Maciej Miklas
>            Priority: Minor
>             Fix For: 2.0.0-RC1
>
>
> The Method: {{org.apache.directory.kerberos.client.KdcConnection#_getTgt(...)}}
> has following catch block:
> {code:title=KdcConnection.java|borderStyle=solid}
> catch ( Exception e )
> {
>  // We didn't received anything : this is an error
>    LOG.error( "Authentication failed" );
>    throw new KerberosException( ErrorType.KRB_ERR_GENERIC, TIME_OUT_ERROR );
>  }
> {code}
> The real cause of this error is not being logged and you definitely cannot be 100% sure that it's a timeout. 
> Please log the original exception, this could be done in debug.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)