Web lists-archives.com

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




On Thu, 28 Sep 2017 07:17:59 +0200
Marc Muehlfeld <mmuehlfeld@xxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba