Marc de Lignie created DIRKRB-613:
-------------------------------------

             Summary: Tests fails on systems with includedir in /etc/krb5.conf
                 Key: DIRKRB-613
                 URL: https://issues.apache.org/jira/browse/DIRKRB-613
             Project: Directory Kerberos
          Issue Type: Bug
    Affects Versions: 1.0.0-RC2
         Environment: RHEL6
            Reporter: Marc de Lignie
            Priority: Minor
             Fix For: 1.0.0-RC3


kerby finds /etc/krb5.conf files of other kerberos components, unless the 
environment variable KRB5_CONF is set to the krb5.conf file of the kerby 
project. See stacktrace below: the parsing seems to crash on the includedir 
part of my system's /etc/krb5.conf 

java.lang.RuntimeException: Unable to parse:includedir 
/var/lib/sss/pubconf/krb5.include.d/
            at 
org.apache.kerby.kerberos.kerb.common.Krb5Parser.load(Krb5Parser.java:72)
            at 
org.apache.kerby.kerberos.kerb.common.Krb5Conf.addKrb5Config(Krb5Conf.java:47)
            at 
org.apache.kerby.kerberos.kerb.client.ClientUtil.getDefaultConfig(ClientUtil.java:94)
            at 
org.apache.kerby.kerberos.kerb.client.KrbClientBase.<init>(KrbClientBase.java:51)
            at 
org.apache.kerby.kerberos.kerb.client.KrbClient.<init>(KrbClient.java:38)
            at 
org.apache.kerby.kerberos.kerb.server.SimpleKdcServer.<init>(SimpleKdcServer.java:54)
            at org.myorg.MyTest.startSimpleKdcServer(MyTest.java:79)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to