nerdexam
CompTIA

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.

Security

Question

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 initial credentials How can the problem be fixed? (Choose TWO correct answers.)

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)
  • A
    81% (22)
  • B
    4% (1)
  • C
    4% (1)
  • D
    11% (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.

Antpdate domaincontroller; hwclock -systohcCorrect

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.

Bkinit -t

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.

Ckillall -HUP krb5kdc

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.

DModify the time_sync value in the kdc.conf file.

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.

EModify the clockskew value in the krb5.conf file.Correct

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

#Kerberos#troubleshooting#clock skew#NTP#krb5.conf

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice