[Samba] Fedora 27 rawhide, samba needs a restart to launch krb5kdc

LinforPros IT Solutions linforpros at gmail.com
Thu Sep 28 06:04:08 UTC 2017


On Thu, 28 Sep 2017 07:17:59 +0200
Marc Muehlfeld <mmuehlfeld at samba.org> wrote:

> 
> It sounds like Samba starts before the network is up.

Here is the file
cat /usr/lib/systemd/system/samba.service 
[Unit]
Description=Samba AD Daemon
After=syslog.target network.target

[Service]
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba
Type=notify
NotifyAccess=all
PIDFile=/run/samba.pid
LimitNOFILE=16384
EnvironmentFile=-/etc/sysconfig/samba
ExecStart=/usr/sbin/samba $SAMBAOPTIONS
ExecReload=/usr/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target


The original problem aside, I do not understand the line:
Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba

the file /run/samba/krb5cc_samba does not exist while samba is running

But perhaps it is irrelevant?

Thnak you for comments
Lin



More information about the samba mailing list