You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Xiaomeng Zhang (Jira)" <ji...@apache.org> on 2019/10/18 21:54:00 UTC

[jira] [Created] (KUDU-2979) Add wrap up function of krb5_parse_name, so it can be called from Impala

Xiaomeng Zhang created KUDU-2979:
------------------------------------

             Summary: Add wrap up function of krb5_parse_name, so it can be called from Impala
                 Key: KUDU-2979
                 URL: https://issues.apache.org/jira/browse/KUDU-2979
             Project: Kudu
          Issue Type: Improvement
          Components: security
    Affects Versions: 1.12.0
            Reporter: Xiaomeng Zhang


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) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)