There is a different between samba in Ubuntu 9.10 below with Ubuntu 10.04. Of course the old samba will work in Lucid. But I can’t find /etc/init.d/samba file.
As a replacement, Lucid use smbd.
So this is how to restart samba
#sudo smbd restart
The old configuration of samba I use in Ubuntu 9.10 still work in Lucid.