Hi Kamil,

I think it's a bug, could you create the 
JIRA(https://issues.apache.org/jira/browse/DIRKRB-102) for this issue?

Thanks,
Jiajia

-----Original Message-----
From: Kamil Krzysztof Krynicki [mailto:[email protected]] 
Sent: Tuesday, May 29, 2018 9:23 PM
To: [email protected]
Subject: Semicolon as a comment character in krb5.conf

Hello everybody, Colm, Li

I've recently been trying to work with krb5.conf files using kerby and it kept 
on crashing when ";" was used as a comment character in the krb5.conf file.

Accodring to the MIT code:
https://github.com/krb5/krb5/blob/0744026f06e8cbf477aa49cfe16b5fd28a9ddc9e/src/util/profile/prof_parse.c#L86https://github.com/krb5/krb5/blob/0744026f06e8cbf477aa49cfe16b5fd28a9ddc9e/src/util/profile/prof_parse.c#L86
it should be allowed.

While Kerby does this:
https://github.com/apache/directory-kerby/blob/trunk/kerby-kerb/kerb-common/src/main/java/org/apache/kerby/kerberos/kerb/common/Krb5Parser.java#L195

Is it a bug or an aware decision?

Can you think of a way to bypass this issue?

Cheers,
Kamil Krynicki

Reply via email to