Skip to content

Commit 487a238

Browse files
committed
Kerberos tutorial: ntp usually not needed to install
1 parent c0fd746 commit 487a238

1 file changed

Lines changed: 35 additions & 3 deletions

File tree

  • content/installation/user/user_install_kerberos

content/installation/user/user_install_kerberos/index.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,45 @@ Next, adapt the `krb5.conf`, probably available in the `/etc` directory. Add th
7474
forwardable= true
7575
```
7676

77-
Inbo staff can download a preconfigured krb5.conf file here:"https://drive.google.com/a/inbo.be/file/d/1q4MOWl3i-DDy1s3vwOeqPkpToa1S-3zE/view?usp=sharing".
78-
In order to sync the timing of the domain controller server and client side, install `ntp`:
77+
INBO staff can download a preconfigured `krb5.conf` file here:
78+
<https://drive.google.com/a/inbo.be/file/d/1q4MOWl3i-DDy1s3vwOeqPkpToa1S-3zE/view?usp=sharing>.
7979

80+
### Time synchronization
81+
82+
This is needed in order to sync the timing of the domain controller server and client side.
83+
84+
Check whether the `systemd-timesyncd` daemon is already active on your system:
85+
86+
```bash
87+
$ systemctl status time-sync.target
88+
● time-sync.target - System Time Synchronized
89+
Loaded: loaded (/lib/systemd/system/time-sync.target; static; vendor preset: disabled)
90+
Active: active since Mon 2020-09-07 08:27:03 CEST; 59min ago
91+
Docs: man:systemd.special(7)
92+
93+
$ timedatectl status
94+
Local time: ma 2020-09-07 09:27:00 CEST
95+
Universal time: ma 2020-09-07 07:27:00 UTC
96+
RTC time: ma 2020-09-07 07:27:00
97+
Time zone: Europe/Brussels (CEST, +0200)
98+
System clock synchronized: yes
99+
NTP service: active
100+
RTC in local TZ: no
80101
```
102+
103+
Note the line `NTP service: active`.
104+
105+
If you do have the `systemd-timesyncd` package but the unit is _not_ active, run `systemctl enable --now time-sync.target`.
106+
Further information can be found [here](https://wiki.archlinux.org/index.php/Systemd-timesyncd).
107+
108+
Only if you **don't** have the `systemd-timesyncd` package, install `ntp` instead:
109+
110+
```bash
81111
sudo apt-get install ntp
82112
```
83-
After installation, check if the following two files do exist:
113+
114+
_If_ you installed `ntp`, check whether the following two files do exist:
115+
84116
* `/etc/ntp.conf`
85117
* `/etc/ntp.conf.dhcp` (empty file, just make sure there is a file)
86118

0 commit comments

Comments
 (0)