Setup Step 7 - Enable File Sharing
There are books and websites devoted to Samba, so I'm not going to try to make you (or me!) an expert. I'll just walk through the steps required to set up the previously-created "Public" folder for read/write access to anyone without requiring a login. Figure 14 shows the main screen of Webmin's Samba Windows File Sharing module. We're going to visit the Windows Networking screen first.
Figure 14: Samba main screen
The only changes you need to make in Figure 15 are the Windows Workgroup name (if it is not "Workgroup") and to disable the Master Browser function. The latter is optional, but probably a good idea to prevent Master Browser battles that can mess up Windows Network browsing. Make the changes and click the Save button.
Figure 15: RAID array successfully created and mounted
You should now be back at the main Samba screen. Click the Create a new File Share link at the top of the page to open the page shown in Figure 16. I named the share "public" and navigated to the previously-created /mnt/raidarr/public folder.
Figure 16: Create Samba file share
Note that I have set the Automatically create directory button to No. I originally tried creating a share this way, but it didn't work. You can also enter a comment if you like. Click the Save button and your screen should look like Figure 17.
Figure 17: File share created
But we're not done yet! Click on the share name to open the Edit File Share screen (Figure 18), then click on the Security and Access Control icon in the Other Share Options area. The changes here are to set Writable to Yes, Guest Access to Guest only. Leave the Guest Unix user set to nobody. Save the changes and the main Samba screen should now show the share security as Read/write to everyone.
Figure 18: Setting File Share Security
All you need to do now is to browse to the share. You should be able to open it and not get a login popup. Drag a file over to test writing, open it to test reading, then delete it to test, well, deleting! We're finally done! Now we can see if the switchover to Ubuntu was worth it!