You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "YanYan (JIRA)" <ji...@apache.org> on 2016/01/07 04:13:39 UTC

[jira] [Updated] (DIRKRB-522) Krb5Parser parse error

     [ https://issues.apache.org/jira/browse/DIRKRB-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YanYan updated DIRKRB-522:
--------------------------
    Attachment: DIRKRB-522-v1.patch

Bug fixed. It is because comments are not well parsed.
By the way, I add {{StandardCharset.UTF-8}} to the inputstream, to avoid a bug in findbugs option.

> Krb5Parser parse error
> ----------------------
>
>                 Key: DIRKRB-522
>                 URL: https://issues.apache.org/jira/browse/DIRKRB-522
>             Project: Directory Kerberos
>          Issue Type: Bug
>    Affects Versions: 1.0.0-RC2
>            Reporter: YanYan
>            Assignee: YanYan
>         Attachments: DIRKRB-522-v1.patch
>
>
> When parsing krb5.conf, there is an error:
> {code}
> java.lang.RuntimeException: Unable to parse: krb4_config = /etc/krb.conf
>   at
> org.apache.kerby.kerberos.kerb.common.Krb5Parser.load(Krb5Parser.java:70)
> {code}
> Where the krb5.conf looks like:
> {code}
> [libdefaults]
>         default_realm = WS.APACHE.ORG
> # The following krb5.conf variables are only for MIT Kerberos.
>         krb4_config = /etc/krb.conf
> {code}
>  Thanks Colm for reporting this.



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