[Samba] /etc/init.d/samba in Ubuntu_18.04

Anderson Hoffmann do Carmo anderson.hoffmann at gsurfnet.com
Thu Oct 18 14:18:23 UTC 2018


Thanks for anwsers!
Works for me:

I just changed '/etc/init.d/samba stop' to 'systemctl stop
samba-ad-dc.service'

Em qui, 18 de out de 2018 às 10:31, Thomas Glanzmann <thomas at glanzmann.de>
escreveu:

> Hello,
>
> > Please, which command should I use to stop and start the Samba/AD service
> > correctly?
>
> personally I use for active directory:
>
> samba
>
> For standalone file server:
>
> smbd
>
> And I use kill to stop them. I use the pid in the pid file to do so.
> Works fine for me. But it is probably better to use the infrastructure
> of the operating system. But since I have multiple samba systems running
> on a single node I go currently with the above but also specify the
> config file.
>
> Cheers,
>         Thomas
>


More information about the samba mailing list