| Summary: | Over-weekend login Kerberos keys are not renewed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tim Niemueller <tim> |
| Component: | sssd | Assignee: | Stephen Gallagher <sgallagh> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dpal, jgalipea, jhrozek, sbose, sgallagh, ssorce |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-23 18:47:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tim Niemueller
2011-05-03 07:59:09 UTC
It seems that you are looking for the following functionality. https://fedorahosted.org/sssd/ticket/369 I think it is disabled by default. But check the man pages, sssd is well documented. If you have any questions ask on the https://fedorahosted.org/mailman/listinfo/sssd-devel or #sssd channel on freenode. What is the reasoning not to enable this by default? Disabling it curses desktop sessions to fail after some time, what drawbacks does enabling it have? (In reply to comment #2) > What is the reasoning not to enable this by default? Disabling it curses > desktop sessions to fail after some time, what drawbacks does enabling it have? It's not enabled by default for several reasons: 1) It can result in an increased security risk on the system, as keys are valid for a much longer time period without human intervention 2) Having every client re-keying can result in higher load on the KDC 3) Many Kerberos deployments do not allow renewals at all (because of 1), above) 4) In order to reduce the effect of 2), tuning is required to determine how often to automatically re-key. There are a couple 'gotchas' here. You will need to set the following options in sssd.conf for this to work (see sssd-krb5(5)): krb5_renewable_lifetime krb5_renew_interval The first option sets the complete amount of time that you want your user's TGTs to be renewable (I suspect you want this to be three days, so it would be 'krb5_renewable_lifetime = 3d' The 'gotcha' here is that this is clamped down by the KDC. You need to ensure that your FreeIPA server allows clients to request renewals for at least this length of time. The second option just specifies how often SSSD should check to see if tickets need to be renewed. I'd suggest in your case that it probably only needs to be about every eight hours, so you would set 'krb5_renew_interval = 28800'. |