[Samba] samba start issues after classic upgrade
Rowland penny
rpenny at samba.org
Sun Oct 18 18:09:16 UTC 2020
On 18/10/2020 18:05, Sonic via samba wrote:
> Hello,
>
> Just completed a classic upgrade on a new server. NT4 style PDC was
> running 4.6.5, new server running 4.13.0 (Debian Buster compiled from
> source)
Why compile it yourself ?
See here for packages: http://apt.van-belle.nl/
Try this unit file:
[Unit]
Description=Samba AD Daemon
Documentation=man:samba(8) man:samba(7) man:smb.conf(5)
Wants=network-online.target
After=network.target network-online.target
[Service]
Type=forking
PIDFile=/run/samba/samba.pid
LimitNOFILE=16384
ExecStart=/usr/sbin/samba -D
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
On Debian it normally goes here: /usr/lib/systemd/system/samba-ad-dc.service
You may have to alter the paths.
Also, it looks like you do not have the 'python3-dnspython' package
installed.
Rowland
More information about the samba
mailing list