Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

krb5: add krb5_fast_use_anonymous_pkinit option #5962

Closed
wants to merge 3 commits into from

Conversation

sumit-bose
Copy link
Contributor

With the new option krb5_fast_use_anonymous_pkinit SSSD can be told to use
anonymous PKINIT to get FAST credential

:relnote: Add support for anonymous PKINIT to get FAST credentials

Resolves: #5961

Copy link
Contributor

@thalman thalman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please take a look at my comments

if (kerr != 0) {
DEBUG(SSSDBG_CRIT_FAILURE,
"Failed to get FAST credential with anonymous PKINIT.\n");
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure here - is it OK to continue in case of error?

DEBUG(SSSDBG_CRIT_FAILURE,
"Failed to get FAST credential with anonymous PKINIT.\n");
}
kerr = switch_creds(NULL, fast_uid, fast_gid, 0, NULL, &saved_creds);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

krerr is assigned but not evaluated

@sumit-bose
Copy link
Contributor Author

Hi,

thanks for the review, the latest version should fix your comments.

bye,
Sumit

Make the code more flexible to add another method to get FAST
credentials.

Resolves: SSSD#5961
Add anonymous PKINIT as an alternative method to get FAST credentials.

Resolves: SSSD#5961
With the new option krb5_fast_use_anonymous_pkinit SSSD can be told to
use anonymous PKINIT to get FAST credential

:relnote: Add support for anonymous PKINIT to get FAST credentials

Resolves: SSSD#5961
@thalman
Copy link
Contributor

thalman commented Feb 7, 2022

Thank you for the update. LGTM, ACK

@pbrezina pbrezina added the Ready to push Ready to push label Feb 10, 2022
@pbrezina
Copy link
Member

Pushed PR: #5962

  • master
    • 7e839be - krb5: add krb5_fast_use_anonymous_pkinit option
    • 58ab413 - krb5_child: add fast-use-anonymous-pkinit option
    • d1ad68f - krb5_child: move FAST TGT request into a function

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

Successfully merging this pull request may close these issues.

[RFE] Allow SSSD to use anonymous pkinit for FAST
3 participants