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

KCM: Fix SSH GSSAPI delegation for the memory back end #5313

Conversation

justin-stephenson
Copy link
Contributor

When GSSAPI credentials are delegated over SSH, the KCM set default ccache operation looks for a ERR_NO_CREDS return code to continue handling the SSH-created ccache correctly.

if (ret == ERR_NO_CREDS) {

The memory back end will now return this error code in this situation, matching the default secdb back end. Note we already have a multihost for GSSAPI delegation with the default KCM back end.

The memory back end is only returning ERR_KCM_CC_END, so i'm not sure if we should be returning ERR_KCM_CC_END elsewhere.

@alexey-tikhonov
Copy link
Member

Hi @justin-stephenson,

could you please add link to the ticket this PR resolves?

@justin-stephenson
Copy link
Contributor Author

@alexey-tikhonov hello, there is only a downstream BZ, should I create an associated upstream ticket to link to this PR?

@alexey-tikhonov
Copy link
Member

Yes, please. This is usually done for any non-trivial patch.

When GSSAPI credentials are delegated over SSH, the KCM set default ccache
operation looks for a ERR_NO_CREDS return code to continue handling the
SSH-created ccache correctly. The memory back end will now return this
error code in this situation, matching the default secdb back end.

Resolves: SSSD#5333
@justin-stephenson
Copy link
Contributor Author

Cloned to #5333 and updated the commit message with this number.

@alexey-tikhonov alexey-tikhonov linked an issue Sep 23, 2020 that may be closed by this pull request
@alexey-tikhonov
Copy link
Member

Cloned to #5333 and updated the commit message with this number.

Thank you.

@pbrezina
Copy link
Member

Ack. Thank you.

@pbrezina
Copy link
Member

Pushed PR: #5313

  • master
    • f126afc - KCM: Fix GSSAPI delegation for the memory back end

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.

sssd-kcm does not store TGT with ssh login using GSSAPI
3 participants