View Full Version : [ubuntu] Samba needs restart

February 21st, 2010, 03:26 PM
My Ubuntu 9.10 works well with the network through samba, but only if I first run -

sudo service samba restart

Then all is fine. I don't understand this.

How can I avoid having to do this? Or alternatively where can I best put this command so that it will be run on boot-up.

Any help would be gratefully received.

February 21st, 2010, 03:59 PM
Is Samba running (ie - is a restart required, or would start suffice)? If it's not running, you may be able to add it to System>Preferences>Startup Applictions.

February 21st, 2010, 06:16 PM
Yes, excellent. Thank you. Starting Samba through the System > Preferences > Start up seems to work perfectly. So all is now well. I think I was misled because running "sudo service samba restart" got two OKs, for stopping and for restarting.

So I am not really sure whether Samba was already running, but imperfectly, or not. Anyway, it is running OK now, and giving full access to printer and shared directories.

Thanks again. Much appreciated.