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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0
    • 1.12.0
    • security
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: