Skip to content

[autobackport: sssd-2-13] sdap: let callers mark SSSD as offline if kinit fails#8701

Merged
alexey-tikhonov merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8675-to-sssd-2-13
May 13, 2026
Merged

[autobackport: sssd-2-13] sdap: let callers mark SSSD as offline if kinit fails#8701
alexey-tikhonov merged 1 commit into
SSSD:sssd-2-13from
sssd-bot:SSSD-sssd-backport-pr8675-to-sssd-2-13

Conversation

@sssd-bot
Copy link
Copy Markdown
Contributor

This is an automatic backport of PR#8675 sdap: let callers mark SSSD as offline if kinit fails to branch sssd-2-13, created by @pbrezina.

Please make sure this backport is correct.

Note

The commits were cherry-picked without conflicts.

You can push changes to this pull request

git remote add sssd-bot git@github.com:sssd-bot/sssd.git
git fetch sssd-bot refs/heads/SSSD-sssd-backport-pr8675-to-sssd-2-13
git checkout SSSD-sssd-backport-pr8675-to-sssd-2-13
git push sssd-bot SSSD-sssd-backport-pr8675-to-sssd-2-13 --force

Original commits
c5b631e - sdap: let callers mark SSSD as offline if kinit fails

Backported commits

  • 805235a - sdap: let callers mark SSSD as offline if kinit fails

Original Pull Request Body

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 LDAP provider's connection handling to ensure SSSD enters an offline state upon failing to obtain a Kerberos TGT by setting the retry flag to false and returning an EIO error. It also introduces new system tests to validate that SSSD correctly transitions to offline status when Kerberos or LDAP services are unreachable. I have no feedback to provide.

@alexey-tikhonov alexey-tikhonov removed the request for review from sumit-bose May 13, 2026 08:07
@alexey-tikhonov alexey-tikhonov added the no-backport This should go to target branch only. label May 13, 2026
Copy link
Copy Markdown
Contributor

@sumit-bose sumit-bose left a comment

Choose a reason for hiding this comment

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

Hi,

backport and original patch match, ACK.

bye,
Sumit

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

Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
Reviewed-by: Sumit Bose <sbose@redhat.com>
(cherry picked from commit c5b631e)
@sssd-bot
Copy link
Copy Markdown
Contributor Author

The pull request was accepted by @alexey-tikhonov with the following PR CI status:


🟢 rpm-build:centos-stream-10-x86_64:upstream (success)
🟢 rpm-build:fedora-42-x86_64:upstream (success)
🟢 rpm-build:fedora-43-x86_64:upstream (success)
🟢 rpm-build:fedora-44-x86_64:upstream (success)
🟢 rpm-build:fedora-rawhide-x86_64:upstream (success)
🟢 Build / freebsd (success)
🟢 Build / make-distcheck (success)


There are unsuccessful or unfinished checks. Make sure that the failures are not related to this pull request before merging.

@sssd-bot sssd-bot force-pushed the SSSD-sssd-backport-pr8675-to-sssd-2-13 branch from 805235a to a836b54 Compare May 13, 2026 10:33
@alexey-tikhonov alexey-tikhonov merged commit c3acaa3 into SSSD:sssd-2-13 May 13, 2026
3 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accepted no-backport This should go to target branch only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants