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

ad: use realm renew for keytab renewal #7848

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sumit-bose
Copy link
Contributor

@sumit-bose sumit-bose commented Feb 24, 2025

With the patches SSSD can use realm/realmd as an alternative to adcli to renew the machine account credentials in the host keytab and AD. The main use case is to allow the renewal even if the user SSSD is running as cannot access the keytab. For this realm got a new sub-command renew, see https://gitlab.freedesktop.org/sbose/realmd/-/commits/add_renew. To make testing easier a SSSD test build together with a test build of realmd can be found at https://copr.fedorainfracloud.org/coprs/sbose/realm-renew/.

When calling 3rd party child processes we have no control about how the
child sends its output and if the child might trigger a call to SSSD. To
avoid a deadlock, SSSD backend waiting for I/O from the child and child
waiting for responds from SSSD, SSSD should use non-blocking calls when
reading from the child.
@sumit-bose sumit-bose marked this pull request as draft February 24, 2025 15:40
@alexey-tikhonov alexey-tikhonov added no-backport This should go to target branch only. non-privileged labels Feb 24, 2025
@alexey-tikhonov alexey-tikhonov self-assigned this Feb 25, 2025
@alexey-tikhonov alexey-tikhonov self-requested a review February 25, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. non-privileged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants