directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiajia Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-613) Tests fails on systems with includedir in /etc/krb5.conf
Date Wed, 01 Mar 2017 05:39:45 GMT

    [ https://issues.apache.org/jira/browse/DIRKRB-613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889536#comment-15889536
] 

Jiajia Li commented on DIRKRB-613:
----------------------------------

Thanks for you testing, I will close this issue.

> 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
>              Labels: test
>             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.15#6346)

Mime
View raw message