Skip to content

sdap: let callers mark SSSD as offline if kinit fails#8675

Open
pbrezina wants to merge 1 commit intoSSSD:masterfrom
pbrezina:offline
Open

sdap: let callers mark SSSD as offline if kinit fails#8675
pbrezina wants to merge 1 commit intoSSSD:masterfrom
pbrezina:offline

Conversation

@pbrezina
Copy link
Copy Markdown
Member

@pbrezina pbrezina commented May 6, 2026

The callers expected that ret == EIO and can_retry == false to bring
SSSD to an offline state.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the error handling logic in sdap_cli_resolve_and_connect_kinit_done within src/providers/ldap/sdap_async_connection.c. When a TGT cannot be obtained, the implementation now explicitly sets state->can_retry to false and returns EIO instead of EACCES. I have no feedback to provide as there were no review comments to evaluate.

@pbrezina pbrezina force-pushed the offline branch 2 times, most recently from c364083 to 4a6429d Compare May 6, 2026 16:11
The callers expected that ret == EIO and can_retry == false to bring
SSSD to an offline state.
@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label May 6, 2026
@alexey-tikhonov alexey-tikhonov self-requested a review May 7, 2026 12:41
@alexey-tikhonov alexey-tikhonov requested a review from sumit-bose May 7, 2026 12:41
@alexey-tikhonov alexey-tikhonov added backport-to-sssd-2-13 and removed no-backport This should go to target branch only. labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants