[Samba] Option configure

Achim Gottinger
Tue, 12 Jul 2016 20:06:54 -0000

I have no /etc/default/samba file.

If you run an ad-dc use samba-ad-dc.service, if not use the smbd, nmbd
and winbind service files and not the samba.service.


Am 12.07.2016 um 22:01 schrieb Sonic:
> On Tue, Jul 12, 2016 at 3:25 PM, Achim Gottinger <achim at
ag-web.biz> wrote:
>> This is the samba-ad-dc.service script:
> Pretty similar to my samba.service script:
> ==================================> [Unit]
> Description=Samba AD server
> After=network.target
>
> [Service]
> Type=forking
> PIDFile=/usr/local/samba/var/run/samba.pid
> LimitNOFILE=16384
> ExecStart=/usr/local/samba/sbin/samba
> ExecReload=/bin/kill -HUP $MAINPID
>
> [Install]
> WantedBy=multi-user.target
> ==================================>
> However the substitution below fails for me.
> -Type=forking
> +Type=notify
> +NotifyAccess=all
>
> I'm compiling samba-master from source.
>
> Would like to know what your EnvironmentFile contains, maybe that's
> needed for Type=notify.
>
> Chris