-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
krb5: Add krb5_cc_parse_name() utility function
This function should be used in-tree and in ccache plugins to eliminate duplicate code and make cache name parsing more consistent so that we can have `KRB5CCNAME=<TYPE>` and `KRB5CCNAME=<TYPE>:` work consistently for all cache types and denote "use the default collection name for <TYPE>. All cache types in-tree support collections nowadays, even FILE. External cache plugins may not and need not. To support collections a cache must support the `set_default()` method of `krb5_cc_ops` -- see `krb5_cc_support_switch()`.
- Loading branch information
1 parent
3c4b3aa
commit 2508b72
Showing
1 changed file
with
108 additions
and
0 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