LX0-104 · 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 init
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 difference between the client and KDC; this can be resolved by synchronizing the client's system clock with an NTP server or by increasing the permissible time difference in the krb5.conf configuration file.
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
(27 responses)- A81% (22)
- B4% (1)
- C4% (1)
- D11% (3)
Why each option
The "Clock skew too great" error in Kerberos indicates a time difference between the client and KDC; this can be resolved by synchronizing the client's system clock with an NTP server or by increasing the permissible time difference in the `krb5.conf` configuration file.
The command `ntpdate domaincontroller` will synchronize the client's system clock with the specified NTP server (likely the KDC), and `hwclock -systohc` will write this correct system time to the hardware clock, directly resolving the clock skew issue.
The `kinit -t` option is used for obtaining or renewing tickets for a specific service principal or a keytab file, not for addressing clock synchronization problems.
Sending a `HUP` signal to `krb5kdc` typically reloads its configuration, but it does not address or fix clock skew issues between the client and the KDC.
There is no standard `time_sync` parameter in the `kdc.conf` file that would be modified to fix client-side or KDC clock skew issues; clock skew tolerance is typically client-side in `krb5.conf` or addressed by NTP synchronization.
The `clockskew` parameter in the client's `krb5.conf` file defines the maximum acceptable time difference (in minutes) between the client and the KDC; increasing this value can allow Kerberos authentication to proceed despite a time difference.
Concept tested: Kerberos clock skew troubleshooting
Source: https://web.mit.edu/kerberos/krb5-1.12/doc/user/user_config/clockskew.html
Topics
Community Discussion
No community discussion yet for this question.