Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      This is going to support INIT configuration file format. Below is a sample (krb5.conf):

      default = FILE:/var/log/krb5libs.log
      kdc = FILE:/var/log/krb5kdc.log
      admin_server = FILE:/var/log/kadmind.log 
      
      [libdefaults]
      default_realm = EXAMPLE.COM
      dns_lookup_realm = false
      dns_lookup_kdc = false
      ticket_lifetime = 24h
      renew_lifetime = 7d
      forwardable = true
      

      For above sample, we can have:

      Conf conf = ...
      conf.addIniConfig("/etc/krb5.conf");
      conf.getString("kdc") == "FILE:/var/log/krb5kdc.log";
      Config config = conf.getConfig("libdefaults");
      config.getBoolean("forwardable") == true
      ...
      

      Based on it, it will be easy to support MIT Kerberos configurations like krb5.conf and kdc.conf.

      Attachments

        1. DIRKRB-112_v1.patch
          5 kB
          Lin Chen
        2. DIRKRB-112_v2.patch
          6 kB
          Lin Chen

        Activity

          People

            HazelC Lin Chen
            HazelC Lin Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: