Xiaomeng Zhang has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14520
Change subject: KUDU-2979 Add wrap up function of krb5_parse_name, so it can be called from Impala ...................................................................... KUDU-2979 Add wrap up function of krb5_parse_name, so it can be called from Impala >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) Change-Id: Ifddafa7aae25d66ed7d9fa0306f17501a191cdac --- M src/kudu/security/init.cc M src/kudu/security/init.h 2 files changed, 22 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/14520/1 -- To view, visit http://gerrit.cloudera.org:8080/14520 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ifddafa7aae25d66ed7d9fa0306f17501a191cdac Gerrit-Change-Number: 14520 Gerrit-PatchSet: 1 Gerrit-Owner: Xiaomeng Zhang <[email protected]> Gerrit-Reviewer: Andrew Sherman <[email protected]> Gerrit-Reviewer: Michael Ho <[email protected]> Gerrit-Reviewer: Sailesh Mukil <[email protected]> Gerrit-Reviewer: Todd Lipcon <[email protected]>
