In this guide I look at setting up Samba in Fedora Core 13. This guide will show you how to share your Home Folders with a Windows Computer. Let’s get started.
1. Open up a Terminal Window.
2. Make your self a Super User by entering the command su. Press Enter.
3. Type in yum install samba. Press Enter.
4. You will be asked to confirm the installation. Press Y and hit Enter.
5. If you are lucky and everything works out the installer will go through the necessary steps.
6. Next Click on System, choose Administration and click on Firewall.
7. We need to tick the box next to Samba and Samba Client to set it as a Trusted Service.
8. Next Click the Apply button. Click Yes to the message that is displayed. Close the Firewall Window.
9. Next click on System, choose Administration and click on Services.
10. Find the Service named SMB, select it then choose the Enable option.
11. Choose the Start option. Bingo the Service is now up and running.
12. Verify you can at least talk to the Samba Server. In Windows Click Start choose Run and enter \\ your server ip address. If you are asked for a user name and password then all is well. Close the Window.
13. Next we need to add a Samba User. In the terminal window, type in smbpasswd -a digitaldumpingground.com (change digitaldumpingground.com to your own user name).
14. You will be asked for a New SMB password. Enter in the password.
15. I wanted to share my home drives. To do this, in the Terminal window type in setsebool -P samba_enable_home_dirs=1. Hit Enter. It may take a few seconds to complete.
16. Check that you can access this Share from another computer. It should now work.
The above covers the basics. You should be able to create other shares and change the permissions. For example you might want a Shared Folder where everyone can dump their stuff. It would be a case of setting up the correct permissions to the folder. As always if you have any questions, please ask.