Skip to content
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

sss_iface: do not add cli_id to chain key #6912

Closed
wants to merge 1 commit into from

Conversation

pbrezina
Copy link
Member

@pbrezina pbrezina commented Sep 4, 2023

Otherwise we only chaing identical requests from the same client
which effectively renders chaining not functional.

Resolves: #6911


I tested this with:

for i in {1..100} ; do getent passwd user-1@ldap.test & done

But SSSD is still quite fast and only the first two-three requests
run in parallel and are chained. Other requests where served by cache.

@pbrezina
Copy link
Member Author

pbrezina commented Sep 4, 2023

@justin-stephenson I suppose, there was no particular reason to add cli_id to key, right?

@pbrezina pbrezina assigned pbrezina and unassigned pbrezina Sep 4, 2023
@pbrezina pbrezina added Bugzilla backport-to-stable Targets also latest stable branch labels Sep 4, 2023
@alexey-tikhonov
Copy link
Member

Mistype - chaing :)

@alexey-tikhonov alexey-tikhonov self-assigned this Sep 4, 2023
@alexey-tikhonov
Copy link
Member

Thank you, ACK.

Otherwise we only chain identical requests from the same client
which effectively renders chaining not functional.

Resolves: SSSD#6911
@pbrezina
Copy link
Member Author

pbrezina commented Sep 5, 2023

Mistype - chaing :)

Thanks, fixed.

@justin-stephenson
Copy link
Contributor

Ack, it was a copy/paste mistake on my part.

@alexey-tikhonov
Copy link
Member

Pushed PR: #6912

  • master
    • 1e5dfc1 - sss_iface: do not add cli_id to chain key
  • sssd-2-9
    • 45ed619 - sss_iface: do not add cli_id to chain key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-stable Targets also latest stable branch Bugzilla Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SBUS chaining is broken for getAccountInfo and other internal D-Bus calls
3 participants