[Samba] [Ubuntu 10.04] Share not visible from XP?
Gilles
gilles.ganault at free.fr
Thu Jul 29 06:07:59 MDT 2010
On Thu, 29 Jul 2010 08:58:23 -0300, Leonardo Carneiro
<chesterman86 at gmail.com> 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.
More information about the samba
mailing list