-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use cached S4U2Proxy tickets in GSSAPI
Ticket #7047 allowed credentials obtain using S4U2Proxy through GSSAPI to be cached, but doesn't actually use the cached credentials. Modify get_credentials() to check the cache for the desired client name first, then to make an S4U2Proxy request if we don't find it. Test this change by adding code to t_s4u.c to repeat the constrained delegation request and verify that only three tickets are present in the cache. [ghudson@mit.edu: squash commits; commit message rewrite; minor style edits; changed test code to use gss_store_cred_into() to avoid the need to pick a principal to initialize the ccache with] ticket: 8372 (new)
- Loading branch information
1 parent
01d2bd6
commit f149b9c
Showing
2 changed files
with
103 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters