Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Include krb5_cc_copy_creds function #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luisfdez
Copy link

We are porting some code that needs to generate FILE caches while working a new system that is configured with KCM.

Exposing this function would be handy in this situation to perform actions like:

use Authen::Krb5;

Authen::Krb5::init_context();

my $credCache = Authen::Krb5::cc_default();
my $newCreds = Authen::Krb5::cc_resolve("FILE:/tmp/legacy.cc");

$newCreds->initialize($credCache->get_principal());
Authen::Krb5::cc_copy_creds($credCache, $newCreds);

@coveralls
Copy link

coveralls commented Mar 27, 2020

Coverage Status

Coverage remained the same at 31.25% when pulling b897862 on luisfdez:feature/cc_copy into 3ad0ba2 on sophos:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants