Uploaded image for project: 'Directory Kerberos'
  1. Directory Kerberos
  2. DIRKRB-102 [Apache Kerby] A dedicated Kerberos project
  3. DIRKRB-717

Allow semicolon as a comment character in krb5.conf files

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.2, 2.0.0, 1.1.2
    • None
    • None

    Description

      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.
       
      According to the MIT code:
      https://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
       
      We should skip lines that start with ';'
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            KamilKrynicki Kamil Krynicki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: