Hello Todd Lipcon,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/4978
to review the following change.
Change subject: Misc. fixes for Kerberos compatibility on OS X
......................................................................
Misc. fixes for Kerberos compatibility on OS X
This commit makes a few changes in order to have better compatibility
with the system macOS Heimdal kerberos:
1. krb5kdc now uses UDP instead of TCP; the heimdal client library seems
to have issues connecting via TCP.
2. The ticket cache is now the default FILE type instead of DIR. This
has the downside of limiting our MiniKdc to one kinitted user, but
heimdal apparently has issues with DIR, and FILE is expected to be how
normal users will use Kerberos.
3. The SASL error string handling is special cased for the Heimdal
errors on OS X.
sasl_rpc-test is still failing on macOS, but these changes get us a bit
closer to having it pass.
Change-Id: I3b61af8cedf83745a5b7a6b806b68912f2655821
---
M src/kudu/rpc/sasl_common.cc
M src/kudu/rpc/sasl_rpc-test.cc
M src/kudu/security/test/mini_kdc-test.cc
M src/kudu/security/test/mini_kdc.cc
4 files changed, 28 insertions(+), 19 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/78/4978/1
--
To view, visit http://gerrit.cloudera.org:8080/4978
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3b61af8cedf83745a5b7a6b806b68912f2655821
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>