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

Add options to allow ticket caching #543

Closed
wants to merge 1 commit into from

Conversation

simo5
Copy link
Contributor

@simo5 simo5 commented Mar 6, 2017

This new option (planned to land in gssproxy 0.7) we cache the ldap
ticket properly and avoid a ticket lookup to the KDC on each and every
ldap connection. (Also requires krb5 libs 1.15.1 to benefit from caching).

NOTE: It is safe to apply this to master, if gssproxy does not support this option it simply is ignored.

@simo5 simo5 force-pushed the cachetickets branch 2 times, most recently from 513c118 to 4c13d33 Compare March 7, 2017 13:52
@abbra
Copy link
Contributor

abbra commented Mar 7, 2017

LGTM. Here I'd also like to bump gssproxy and krb5 dependencies in the spec file. We need to ensure gssproxy is actually updated.

@simo5
Copy link
Contributor Author

simo5 commented Mar 7, 2017

Yes, I think we should add a new PR later once we release gssproxy 0.7

@MartinBasti
Copy link
Contributor

Bump

@tiran
Copy link
Member

tiran commented Mar 14, 2017

@simo5 please resolve the merge conflict

@simo5 simo5 force-pushed the cachetickets branch 2 times, most recently from 9a89d1d to d2c6121 Compare March 16, 2017 11:01
@simo5
Copy link
Contributor Author

simo5 commented Mar 16, 2017

@MartinBasti can we push this ? It makes a big difference in framework performance and load on the KDC

This new option (planned to land in gssproxy 0.7) we cache the ldap
ticket properly and avoid a ticket lookup to the KDC on each and every
ldap connection. (Also requires krb5 libs 1.15.1 to benefit from caching).

Ticket: https://pagure.io/freeipa/issue/6771

Signed-off-by: Simo Sorce <simo@redhat.com>
@martbab
Copy link
Contributor

martbab commented Mar 16, 2017

I think that we have all dependencies in spec already so I do not see a reason not to.

@martbab martbab added ack Pull Request approved, can be merged pushed Pull Request has already been pushed labels Mar 16, 2017
@martbab
Copy link
Contributor

martbab commented Mar 16, 2017

master:

  • 4ee7e4e Add options to allow ticket caching

@martbab martbab closed this Mar 16, 2017
@HonzaCholasta
Copy link
Contributor

@martbab, the ticket says 4.5.1, but this was not pushed to ipa-4-5.

@HonzaCholasta HonzaCholasta reopened this Mar 21, 2017
@HonzaCholasta HonzaCholasta removed the pushed Pull Request has already been pushed label Mar 21, 2017
@HonzaCholasta
Copy link
Contributor

ipa-4-5:

  • 62d3938 Add options to allow ticket caching

@HonzaCholasta HonzaCholasta added the pushed Pull Request has already been pushed label Mar 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
6 participants