On Thu, 29 Jul 2010 08:58:23 -0300, Leonardo Carneiro
<[email protected]> wrote:
>I think that on ubuntu you could user just /etc/init.d/samba reload

Right... but that was until recently, while the latest Samba package
is different ;-)

============
# /etc/init.d/samba restart
-su: /etc/init.d/samba: No such file or directory
============
# /etc/init.d/nmbd restart
Rather than invoking init scripts through /etc/init.d, use the
service(8)
utility, e.g. service nmbd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart
nmbd
nmbd start/running, process 1932
============
# /etc/init.d/smbd restart
Rather than invoking init scripts through /etc/init.d, use the
service(8)
utility, e.g. service smbd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart
smbd
smbd start/running, process 1941
============

So it looks like the right way is 

# restart nmbd
nmbd start/running, process 1951
# restart smbd
smbd start/running, process 1955

It'd be easier to add "restart samba" which would take care of both
smbd and nmbd.

Thank you.

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

Reply via email to