Skip to content

Tests: Update test_0003_ad_parameters_junk_domain_invalid_keytab#8350

Merged
jakub-vavra-cz merged 1 commit intoSSSD:masterfrom
jakub-vavra-cz:junk_keytab
Jan 13, 2026
Merged

Tests: Update test_0003_ad_parameters_junk_domain_invalid_keytab#8350
jakub-vavra-cz merged 1 commit intoSSSD:masterfrom
jakub-vavra-cz:junk_keytab

Conversation

@jakub-vavra-cz
Copy link
Contributor

Change 684e568 added a code path that sets the realm to the AD domain name if the keytab is invalid. This changes the expected log message "Selected realm:" on sssd 2.12+.

@jakub-vavra-cz jakub-vavra-cz added Waiting for review Tests Trivial A single reviewer is sufficient to review the Pull Request no-backport This should go to target branch only. labels Jan 13, 2026
Copy link

@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 updates the test test_0003_ad_parameters_junk_domain_invalid_keytab to account for a change in sssd's behavior when an invalid keytab is present. The assertion is correctly modified to check for one of two possible log messages, reflecting both the old and new code paths. The change is clear, well-commented, and appropriate. I have reviewed the changes and found no issues.

Copy link
Contributor

@shridhargadekar shridhargadekar left a comment

Choose a reason for hiding this comment

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

LGTM

Change 684e568 added a code path
that sets the realm to the AD domain name if the keytab is invalid.
This changes the expected log message "Selected realm:" on sssd 2.12+.

Reviewed-by: Shridhar Gadekar <sgadekar@redhat.com>
@sssd-bot
Copy link
Contributor

The pull request was accepted by @jakub-vavra-cz with the following PR CI status:


🟢 CodeFactor (success)
🟢 CodeQL (success)
NEUTRAL osh-diff-scan:fedora-rawhide-x86_64:upstream (neutral)
🟢 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-rawhide-x86_64:upstream (success)
🟢 Analyze (target) / cppcheck (success)
🟢 Build / freebsd (success)
🟢 Build / make-distcheck (success)
🟢 ci / intgcheck (centos-10) (success)
🟢 ci / intgcheck (fedora-42) (success)
🟢 ci / intgcheck (fedora-43) (success)
🟢 ci / intgcheck (fedora-44) (success)
🟢 ci / prepare (success)
🟢 ci / system (centos-10) (success)
🟢 ci / system (fedora-42) (success)
🔴 ci / system (fedora-43) (failure)
🔴 ci / system (fedora-44) (failure)
➖ Coverity scan / coverity (skipped)
🟢 Static code analysis / codeql (success)
🟢 Static code analysis / pre-commit (success)
🟢 Static code analysis / python-system-tests (success)


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

@jakub-vavra-cz jakub-vavra-cz merged commit 9ed9262 into SSSD:master Jan 13, 2026
20 checks passed
@jakub-vavra-cz jakub-vavra-cz deleted the junk_keytab branch January 13, 2026 15:29
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. Tests Trivial A single reviewer is sufficient to review the Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants