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
Use negative cache better and domain checks for lookup by SIDs #6353
Conversation
@aplopez - thank you for the review. I updated the PR according your comments and extended tests for negative cache. T. |
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.
This patch implements function to add non existing SID to negative cache for individual domains. Resolves: SSSD#6352
Hi, imo, commit message of a 2nd patch is a bit misleading:
I mean, this is implementation of mechanism to /skip/ multi-domain search, right? |
This patch adds handlers for the dp_get_domain_check_fn(), dp_get_domain_send_fn() and dp_get_domain_recv_fn() functions to requests that resolve objects by SID. The patch also extends the AD provider so it can handle those domain-by-sid lookups. This patch also adds domain-local negcache set/check methods for SID lookups. Resolves: SSSD#6352
I updated the code of T. |
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,
thanks for the updates, ACK.
bye,
Sumit
Thank you for the updates. ACK. |
Better use of negative cache and get_domain check mechanism for SID lookup.
The first part implements function to add non existing SID to negative
cache for an individual domains. Second part implements multi-domain search interface
for SID lookup.
Resolves: #6352