This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 License.
I’m in the process of taking an old desktop and turning it into the house’s media server, taking most of the grunt work off of the computer I use to do my “real work” on. The media server is currently running Ubuntu 13.04 and it was sharing the small 80GB internal hard drive across my Windows network just fine. However, when I attached an external 3TB USB drive to the server, it was recognized, and I could right-click on it and tell it to share, but when I tried to access it from the Windows machine in the living room, it would not give me access. Many Google searches later I assembled the correct steps to get it to work. So, as a record for next time, and in hopes of helping someone else with some specific instructions, here they are:
# cd /etc/samba
# sudo pico smb.conf(Feel free to use the editor of your choice. I like Pico.)
[Media01](remember that’s the name of the share I created.)
force user = username(In my case username is “msauers” since that’s the username I log in to Ubuntu with. Replace with your username.)
# sudo restart smbd(restarts Samba)
That should do it. You should now be able to access the shared drive from any Windows computer on your network.