Uploaded image for project: 'Directory Kerberos'
  1. Directory Kerberos
  2. DIRKRB-613

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-RC2
    • 1.0.0
    • None
    • RHEL6

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              jiajia Jiajia Li
              HadoopMarc Marc de Lignie
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: