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 Fri, 24 Feb 2017 08:21:44 GMT

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

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

commit e34b1ef8fec64e89780aec37aac903d4608e215f
Author: plusplusjiajia <jiajia.li@intel.com>
Date:   Fri Feb 24 16:27:17 2017 +0800

    DIRKRB-613 Tests fails on systems with includedir in /etc/krb5.conf.

> 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