Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2979

Add wrap up function of krb5_parse_name, so it can be called from Impala

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.12.0
    • Component/s: security
    • Labels:
      None

      Description

      From work of https://issues.apache.org/jira/browse/IMPALA-7504, we want to use  krb5_parse_name() to parse the principal instead of creating our own.

      As src/kudu/security/init.cc already have g_krb5_ctx initialized, we want to leverage the code in KUDU, and create a wrap up function which can be called from IMPALA 

      Krb5parseName(const string& principal, string* service_name,
      string* hostname, string* realm) 

        Attachments

          Activity

            People

            • Assignee:
              Xiaomeng Zhang Xiaomeng Zhang
              Reporter:
              Xiaomeng Zhang Xiaomeng Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: