| Summary: | User auth succeeds even when KDC and SSSD client's system time is not synchronized | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Amith <apeetham> | ||||||||
| Component: | sssd | Assignee: | SSSD Maintainers <sssd-maint> | ||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Steeve Goveas <sgoveas> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | 7.3 | CC: | apeetham, grajaiya, jhrozek, lslebodn, mkosek, mzidek, pbrezina, rharwood, sbose | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2016-09-08 13:01:20 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Attachments: |
|
||||||||||
|
Description
Amith
2016-09-04 10:53:47 UTC
Created attachment 1197606 [details]
Krb child log file
Created attachment 1197607 [details]
Syslog file -- /var/log/messages
iirc MIT Kerberos got some patches to handle different times on client and KDC better. See, e.g. http:http://krbdev.mit.edu/rt/Ticket/Display.html?id=7656 and http//krbdev.mit.edu/rt/Ticket/Display.html?id=7657. Robbie, can you confirm that it is expected nowadays that kinit works even if the time on the client and servers differs? Please note that even if kinit return a ticket, it might not be usable because the timestamps in the ticket are generated on the KDC and depending on the time difference the ticket might not yet be valid or already invalid. (In reply to Sumit Bose from comment #5) > iirc MIT Kerberos got some patches to handle different times on client and > KDC better. See, e.g. > http:http://krbdev.mit.edu/rt/Ticket/Display.html?id=7656 and > http//krbdev.mit.edu/rt/Ticket/Display.html?id=7657. > > Robbie, can you confirm that it is expected nowadays that kinit works even > if the time on the client and servers differs? Spec requires us to be tolerant up to a five minute skew. We do try to be more tolerant than that. Amith, please try to add the kdc_timesync option in the [libdefaults] section and not in the [logging] section. Sumit, The issue is resolved by adding kdc_timesync option in the [libdefaults] section. In fact, the automation code appended "kdc_timesync = 0" to the [logging] section instead of [libdefaults] due to the recent changes in file krb5.conf. That's why we saw regression failures. I have updated the code. |