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

Kiran Ayyagari resolved DIRKRB-87.
----------------------------------

    Resolution: Fixed
      Assignee: Kiran Ayyagari  (was: Emmanuel Lecharny)

Fixed here http://svn.apache.org/r1445178
                
> When we configure a wrong EncryptionType, the server does not start
> -------------------------------------------------------------------
>
>                 Key: DIRKRB-87
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-87
>             Project: Directory Kerberos
>          Issue Type: Bug
>            Reporter: Emmanuel Lecharny
>            Assignee: Kiran Ayyagari
>
> When we add a wrong encryptionType in the configuration, the server does not 
> start anymore :
>     [15:22:59] ERROR 
> [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed to start 
> the service.
>     java.lang.IllegalArgumentException: Unknown algorithm name for the 
> encryption type UNKNOWN (-1)
>             at 
> org.apache.directory.shared.kerberos.KerberosUtils.getAlgoNameFromEncType(KerberosUtils.java:388)
>             at 
> org.apache.directory.shared.kerberos.KerberosUtils.orderEtypesByStrength(KerberosUtils.java:400)
>             at 
> org.apache.directory.server.kerberos.KerberosConfig.setEncryptionTypes(KerberosConfig.java:215)
>             at 
> org.apache.directory.server.config.builder.ServiceBuilder.createKdcServer(ServiceBuilder.java:682)
>             at 
> org.apache.directory.server.ApacheDsService.startKerberos(ApacheDsService.java:469)
>             at 
> org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:197)
>             at 
> org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
>             at 
> org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> Here is the wrong value in ads-serverid=kerberosserver,ou=servers,ads... :
> ads-krbencryptiontypes: aeswrongalgo

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to