sytsemd starts the samba service to early so the MIT KDC can't find any interfaces and fails to start. We need to wait till the network is up.
--- a/packaging/systemd/samba.service +++ b/packaging/systemd/samba.service @@ -1,6 +1,7 @@ [Unit] Description=Samba AD Daemon -After=syslog.target network.target +Wants=network-online.target +After=syslog.target network.target network-online.target [Service] Type=notify
The issue is fixed in both 4.8 and 4.9 branches which are the current ones supported by Samba Team. 4.7 is for security fixes only. Thus, I'm closing this bug.
There is another problem related to start up: bug#13111