summaryrefslogtreecommitdiffstats
path: root/tests/test_ipapython
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-10-05 17:25:09 +0300
committerRob Crittenden <rcritten@redhat.com>2011-10-06 05:16:41 -0400
commitacb2c3106ad763a07eca6e0f6f6737c04f967bfe (patch)
treea011027b7bcb1b785869f34d5add1f36489f18ae /tests/test_ipapython
parentf28ab8351f8972b5b5354dd98ba6508eab06dc31 (diff)
downloadfreeipa-acb2c3106ad763a07eca6e0f6f6737c04f967bfe.tar.gz
freeipa-acb2c3106ad763a07eca6e0f6f6737c04f967bfe.tar.xz
freeipa-acb2c3106ad763a07eca6e0f6f6737c04f967bfe.zip
Before kinit, try to sync time with the NTP servers of the domain we are joining
When running ipa-client-install on a system whose clock is not in sync with the master, kinit fails and enrollment is aborted. Manual checking of current time at the master and adjusting on the client-to-be is then needed. The patch tries to fetch SRV records for NTP servers of the domain we aim to join and runs ntpdate to get time synchronized. If no SRV records are found, sync with IPA server itself. If that fails, warn that time might be not in sync with KDC. https://fedorahosted.org/freeipa/ticket/1773
Diffstat (limited to 'tests/test_ipapython')
0 files changed, 0 insertions, 0 deletions