Samba Sharing Folders and Files to Windows-based clients/users or other OS in Ubuntu via Network for seamless file and print services to SMB/CIFS clients.
by: Revengksky Joseph D. Reyes (a.k.a rjdreyes – jcyberinux.com)
What if you have a NTFS file system or other drives that you need to shared across the network with Windows users and the mere fact you are using Ubuntu or other Linux Operating System. Don’t worry because there is a Samba Utility, is an Open Source/Free Software that can provide your needs on seamless file and print services to SMB/CIFS clients such as MS Windows users across your network.
(Note: For this event you may need an internet connection, in case of need to install or download available updates on your Ubuntu OS.)
(Note: For GNOME GUI, I’m not certain on other GUI Environment such as Unity, 😀 , you may try if you want, to see the results.)
Here’s the Steps / Instructions on How to Install and Configure Samba to share the device such as printer, folders or files to Windows users on the Network :
1. Go to Applications then to Accessories then click Ubuntu Software Center. Then search for the keyword: samba
After finally search the keyword, click on the Samba then click Install. Then wait until finish the installation.
(Note: It will ask for a administration password, or your own account password, type it and press Enter.)
2. Be sure that the NTFS device is mount, to make it permanently mount in Ubuntu, please click here to follow instruction on How to used Storage Device Manager.
(Note: Also to check what device you’re about to mount, used GParted – click here to follow on how to used it, to locate the exact device or media name, let’s say in my example /dev/sdb1.)
(Note: Kindly used the NTFS Configuration Tool to Enable write support in Ubuntu, click here to follow instruction.)
3. Go to System, then to Administrator then click Samba. (Note: It will ask for a administration password, or your own account password, type it and press Enter.)
4. From there, you can now share the device on the Windows users on your network, click the Add a Samba share (Plus sign).
At Basic Tab, both click or check Visible and Writable, then click Browse…
5. Click on the device or file system drive you want to share (as for the example is the /dev/sdb1, that’s why you need GParted utility, it keeps handy, to see the actual local path of your device to be shared). Then click Ok.
6. Type the Share Name, and the Description (optional). A Share Name will be used on accessing your share device.
Then go to Access Tab, click on Allow access to everyone. So that it can be access easily by the Windows users on your Local Area Network.
(Note: This is a basic sharing setup, you can alter or change the setting for further security reason. By doing this, you allow everyone on the network, can access your files and make changes. Please note the risk. I’m not responsible with it.)
Click Ok after the settings are done.
7. At Preferences, click Server Settings…
On the Basic tab, Workgroup type your network name, same as the Workgroup on Windows users.
(Note: To see the Workgroup name on Windows XP/ Server 2003, go to Control Panel, then click on System, then from there click on Computer Name tab. On Windows 7, go to Control Panel, then click on System, then click Advanced system settings, then from there click on Computer Name tab.)
Then at the Description type the Computer Name, or leave the %h parameter which is the host name.
8. Then next, click on Security tab, then make the settings on Authentication Mode to Share, Authentication Server and Kerberos Realm are disable, Encrypt Passwords to Yes, and lastly, Guest Account to No guest account.
Click Ok after the settings are done. For more effective results, you can restart your computer.
I hope this helps you out! 😀
Related Entries / References :
How to Install Application using Ubuntu Software Center
Storage Device Manager to automatic mount the Hard drive in Ubuntu by Jcyberinux
GParted a Disk Management Tool by Jcyberinux
NTFS Configuration Tool to Enable write support in Ubuntu by Jcyberinux
How to Install Ubuntu 10.04 LTS or Ubuntu 11.04 on Desktop or Laptop by Jcyberinux
How to Install Software Packages using Synaptic Package Manager
Ubuntu Official Site
Download Ubuntu Official Site