Yep, it's working for me now, thanks! Colm.
On Thu, Jan 7, 2016 at 3:47 AM, Yan, Yan A <[email protected]> wrote: > Hi Colm and Jiajia, > > The comment parsing problem in Krb5Parser is fixed. > See: https://issues.apache.org/jira/browse/DIRKRB-522 > > > Best regards, > Yan > > > -----Original Message----- > From: Yan, Yan A > Sent: Thursday, January 07, 2016 9:45 AM > To: [email protected]; [email protected]; Zheng, Kai < > [email protected]> > Subject: RE: Trunk failures > > Hi Colm, > Thanks for reporting this. It seems that Krb5Parser is not robust enough. > I will fix this. > > Best regards, > Yan > > > -----Original Message----- > From: Li, Jiajia [mailto:[email protected]] > Sent: Thursday, January 07, 2016 9:40 AM > To: [email protected]; [email protected]; Zheng, Kai < > [email protected]> > Subject: RE: Trunk failures > > Hi Colm, > The KrbClient will get the default config file(/etc/krb5.conf) in > constructor, but it will not affect the tests if parse the file success > because the property will be overwritten in tests. > It seems some problem in Krb5Parser, thanks for the reporting. > > Hi Yan, > Can you solve this issue? > > Thank > Jiajia > > > -----Original Message----- > From: Colm O hEigeartaigh [mailto:[email protected]] > Sent: Wednesday, January 06, 2016 9:17 PM > To: Zheng, Kai > Cc: [email protected] > Subject: Re: Trunk failures > > The problem is that the tests are reading my local /etc/krb5.conf and > failing to parse it properly. The error is: > > java.lang.RuntimeException: Unable to parse: krb4_config = /etc/krb.conf > at > org.apache.kerby.kerberos.kerb.common.Krb5Parser.load(Krb5Parser.java:70) > > Where the start of my /etc/krb5.conf looks like: > > [libdefaults] > default_realm = WS.APACHE.ORG > > # The following krb5.conf variables are only for MIT Kerberos. > krb4_config = /etc/krb.conf > > So I think we have two issues here. Firstly, why are we parsing a user's > local krb5.conf? Secondly, the parsing appears to be broken, in that it > throws an error on a legitimate configuration line. > > > Colm. > > On Wed, Jan 6, 2016 at 3:53 AM, Zheng, Kai <[email protected]> wrote: > > > It's OK in my side. Would other one help check this? Thanks. > > > > Regards, > > Kai > > > > -----Original Message----- > > From: Colm O hEigeartaigh [mailto:[email protected]] > > Sent: Tuesday, January 05, 2016 7:37 PM > > To: [email protected] > > Subject: Trunk failures > > > > I'm getting some trunk test failures: > > > > e.g.: > > > > testKdc(org.apache.kerby.kerberos.kerb.server.OnlyTcpKdcTest) Time > > elapsed: 0.076 sec <<< ERROR! > > java.lang.NullPointerException: null > > at > > > > org.apache.kerby.kerberos.kerb.server.KdcTestBase.deletePrincipals(Kdc > > TestBase.java:152) > > > > > > Colm. > > > > > > -- > > Colm O hEigeartaigh > > > > Talend Community Coder > > http://coders.talend.com > > > > > > -- > Colm O hEigeartaigh > > Talend Community Coder > http://coders.talend.com > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
