LFCS · Question #596
The following output is generated when trying to obtain tickets from the Kerberos realm: # kinit [email protected] Password for [email protected] kinit(v5): Clock skew too great while getting…
The correct answer is A. ntpdate domaincontroller; hwclock -systohc E. Modify the clockskew value in the krb5.conf file. The "Clock skew too great" error in Kerberos indicates a time synchronization issue between the client and the Kerberos Key Distribution Center (KDC), which can be resolved by synchronizing system clocks and/or adjusting the allowed clock skew.
Question
Options
- Antpdate domaincontroller; hwclock -systohc
- Bkinit -t
- Ckillall -HUP krb5kdc
- DModify the time_sync value in the kdc.conf file.
- EModify the clockskew value in the krb5.conf file.
How the community answered
(25 responses)- A76% (19)
- B4% (1)
- C8% (2)
- D12% (3)
Why each option
The "Clock skew too great" error in Kerberos indicates a time synchronization issue between the client and the Kerberos Key Distribution Center (KDC), which can be resolved by synchronizing system clocks and/or adjusting the allowed clock skew.
Running `ntpdate domaincontroller` will synchronize the client's system clock with the Kerberos domain controller, and `hwclock -systohc` will save the synchronized system time to the hardware clock, resolving the clock skew.
`kinit -t` is used to specify a ticket cache, which does not address clock skew errors.
`killall -HUP krb5kdc` would restart the KDC process, but it does not fix underlying clock synchronization problems causing the error.
`kdc.conf` is for KDC server configuration and does not contain a `time_sync` parameter relevant to client-side clock skew errors.
The `clockskew` parameter in the `krb5.conf` file defines the maximum allowed time difference (in seconds) between the client and the KDC; increasing this value can mitigate issues where exact synchronization is difficult to maintain.
Concept tested: Kerberos clock skew resolution
Source: https://web.mit.edu/kerberos/krb5-1.5/krb5-1.5.4/doc/krb5-user/Troubleshooting-Kerberos.html
Topics
Community Discussion
No community discussion yet for this question.