[Samba] Option configure

Rowland penny
Tue, 12 Jul 2016 19:35:34 -0000

On 12/07/16 20:25, Achim Gottinger wrote:
> Just backported 4.4.5 from debian sid to jessie. samba.service is
> masked there. If running as an fileserver the services are started via
> smbd.service,nmbd.service, winbind.service.
> There is an samba-ad-dc script which is masked by default.
> To get the ad-dc up and running with systemd one has to unmask
> samba-ad-dc.service and mask smbd.service,nmbd.service, winbind.service.
>
>  This is the samba-ad-dc.service script:
>
> [Unit]
>
> Description=Samba AD Daemon
>
> Documentation=man:samba(8) man:samba(7) man:smb.conf(5)
>
> After=network.target
>
> [Service]
>
> Type=notify
>
> NotifyAccess=all
>
> PIDFile=/run/samba.pid
>
> LimitNOFILE=16384
>
> EnvironmentFile=-/etc/default/samba
>
> ExecStart=/usr/sbin/samba $SAMBAOPTIONS
>
> ExecReload=/bin/kill -HUP $MAINPID
>
> [Install]
>
> WantedBy=multi-user.target
>
>

that is basically what init scripts do, i.e if fileserver start the
nmbd, smbd and winbindd binaries, if AD DC just start the samba binary,
but is this what Sonic is doing ?

Rowland