directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc de Lignie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRKRB-613) Tests fails on systems with includedir in /etc/krb5.conf
Date Sat, 25 Feb 2017 12:34:44 GMT

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

Marc de Lignie commented on DIRKRB-613:
---------------------------------------

@[~jiajia], great that you cared about this issue. I have no easy way to test it in the original
environment, so I will hava a look at it in the course of the week. Cheers,   Marc

> 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