Marton Greber has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/20278 )

Change subject: KUDU-3496 support spnego dedicated keytab
......................................................................


Patch Set 3:

> Patch Set 3:
>
> (2 comments)

I'm thinking that a test similar to:
https://github.com/apache/kudu/blob/master/src/kudu/server/webserver-test.cc#L246-L251
with the addition of using the dedicated keytab.

Some pointers:

We have webserver-test.cc where we have spnego related tests:
https://github.com/apache/kudu/blob/master/src/kudu/server/webserver-test.cc#L200C1-L252C1

This uses the MiniKdc:
https://github.com/apache/kudu/blob/master/src/kudu/security/test/mini_kdc.h
Where you can create keytab:
https://github.com/apache/kudu/blob/master/src/kudu/security/test/mini_kdc.cc#L263-L278
For further details on how to deal with kdc, the mini_kdc-test is a good 
starting point:
https://github.com/apache/kudu/blob/master/src/kudu/security/test/mini_kdc-test.cc

Hope this helps!


-- 
To view, visit http://gerrit.cloudera.org:8080/20278
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I01646207954854d67308f99e6b71ba32c019ed6a
Gerrit-Change-Number: 20278
Gerrit-PatchSet: 3
Gerrit-Owner: Halim Kim <[email protected]>
Gerrit-Reviewer: Halim Kim <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <[email protected]>
Gerrit-Reviewer: Zoltan Martonka <[email protected]>
Gerrit-Comment-Date: Tue, 17 Oct 2023 11:03:41 +0000
Gerrit-HasComments: No

Reply via email to