-
Notifications
You must be signed in to change notification settings - Fork 271
Tests: cache_credentials = true not working #8020
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
The pull request adds a new test to verify that cache_credentials = true works correctly with a custom PAM configuration when the provider is offline. The test logic is sound and covers the intended scenario. My review focuses on improving the maintainability and clarity of the new test by suggesting a more descriptive name for the test function and updating its docstring to be accurate and complete.
e4a75f7 to
f8fe707
Compare
thalman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the effort.
sumit-bose
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
thank you for the update, ACK.
Please note, this patch can only be committed if #7995 is committed, otherwise CI will always fail.
bye,
Sumit
|
@shridhargadekar, please rebase. |
Failing tests seems to be unrelated to this PR. |
|
Conflict in |
|
@sumit-bose latest changes are reverting PAM configuration to original state. Let me check with |
|
Looks like previously failing tests are passing now. |
|
Three test cases that are failing here, could not be related to this PR. Those test cases are running before current PR test cases. |
|
Is this intentional: -- so that "password-auth" == "system-auth" after the test? @sumit-bose , @thalman , are you fine with the recent updates? |
a413452 to
d4d21a2
Compare
|
As Sumit suggested earlier, implementing |
|
@shridhargadekar, is this ready? |
|
@alexey-tikhonov Yes, it's ready. |
Tests for cache_credentials = true not working in sssd, with specified PAM configuration in /etc/pam.d/system-auth and /etc/pam.d/password-auth verifies SSSD#7968
|
Hi, I'm still fine withthe current version of the test, CI failures do not look related. bye, |
Tests for cache_credentials = true not working in sssd, with specified PAM configuration in /etc/pam.d/system-auth and /etc/pam.d/password-auth
verifies #7968