Saturday, June 7, 2008

How to share files (installing samba)

Sharing files and folders in ubuntu over a network is extremely easy. Simply right click on any folder and choose "Sharing Options". When the Folder Sharing windows comes up, simply select the "Share this folder" option. If samba is not installed, you will be prompted with a message that says "You need to install the Windows networks sharing service in order to share your folders". Choose "Install service" option and samba will be installed automatically (it seems like the packages that get installed are samba and samba-common).

That's it! Just reboot and everything should work. Note that if you don't reboot, you'll get the following error message:

'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. The connection was refused. Maybe smbd is not running.

No comments: