Univention Bugzilla – Bug 35863
Heimdal on Samba 4 DCs
Last modified: 2017-09-20 15:03:36 CEST
We should add a system diagnostic plugin which checks if this system is a Samba 4 DC and Heimdal KDC has been started. In this case the module should link to the system service module and recommend the stop of Heimdal KDC and the restart of the Samba 4 service.
Created attachment 8908 [details]
The attached patch adds a new check `heimdal_on_samba4_dc.py`. This checks on machines with the `Samba 4` service, if `samba-tool processes` shows `kdc_server`.
If not, it is checked if `kerberos/autostart` is enabled or if Heimdal KDC is running as those may prevent Samba from starting the `kdc_server` component.
A critical error is shown, if `kdc_server` is not running.
Committed in r81605 - r81606 (advisory r81649).
Ok worked with
ucr set kerberos/autostart=yes
_SYSTEMCTL_SKIP_REDIRECT=yes /etc/init.d/heimdal-kdc start