directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRKRB-87) When we configure a wrong EncryptionType, the server does not start
Date Tue, 12 Feb 2013 14:29:12 GMT
Emmanuel Lecharny created DIRKRB-87:
---------------------------------------

             Summary: 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: Emmanuel Lecharny


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

Mime
View raw message