-
Notifications
You must be signed in to change notification settings - Fork 270
sysdb: Execute override code even if no templates exist #8070
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
sysdb: Execute override code even if no templates exist #8070
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
This pull request addresses a bug where ID overrides were not being applied if no templates were present. The change correctly removes the else block that caused a premature exit from sysdb_apply_default_override, ensuring that override logic is always executed. Additionally, a misleading comment has been removed, improving code clarity. The fix appears correct and complete, and I have no further suggestions.
|
@justin-stephenson, is this related to #8059? |
Yes. |
|
Added |
Could you please add corresponding "Resolves:" line to the commit message? |
5685189 to
861c0b7
Compare
Added, thanks. |
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.
LGTM, thanks
|
@justin-stephenson only backport to 2-9? Not 2-10 2-11? |
https://github.com/SSSD/sssd/pull/7924 was 2-9 backport only was 2-9 only also, I set the same here. |
|
@justin-stephenson, could you please rebase? |
Fixes an issue where ID overrides were not applied properly for the Default Trust View. Resolves: SSSD#8059
861c0b7 to
2702adb
Compare
Done. |
Fixes an issue where ID overrides were not applied properly for the Default Trust View.