This document will outline the steps necessary to set up a Windows share on a FreeNAS server using SAMBA. This setup was performed on FreeNAS-9.10.1-U4, using a Windows 10 Pro machine as the client. Prior to beginning this process, it is recommended that you update your FreeNAS server to the latest release and patch level. The updated version can be downloaded from here.
Setting up the freenas server
This document covers setting up a freenas server to function as a windows share. We will also be creating user accounts and setting permissions.
Before we get started, you will need the following:
- A freenas server (this can be a physical machine or a virtual machine)
- A windows machine will be used to access the shares (this can be a physical machine or a virtual machine)
The first thing we need to do is install the freenas server. You can find installation instructions here:
Once the freenas server is installed, we need to create a share. To do this, go to Services -> Windows Shares -> Add Windows Share. Enter a name for the share and select the volume that you want to use for the share. Then click OK.
Next, we need to add some users who will have access to the share. Go to Accounts -> Users -> Add User. Enter a username and password for the user. Make sure to select “Windows Share” under Privileges. Then click OK.
Repeat this process for each user who needs access to the share.
Now we need to set up permissions for each user. Go to Services -> Windows Shares -> Edit Share. Select theshare you created earlier and click “Edit Permissions”. Click “Add User” and select the users you want to have access to the share. Make sure each user has Read/Write access and then click OK.;
Configuring the freenas server
I am using freenas 0.69.2-RC3 for this how-to. The process should be the same for any recent version of freenas, but your screens might look a little different.
The first thing we need to do is set up our freenas server with an SMB share that we can access from our Windows machine. We will also give our Windows user account read/write access to this share.
1) Log into the freenas web interface and go to Services -> SMB -> Shares -> Add Windows Share
2) Enter a name for your share and select the volume you want to use from the drop-down menu. I am using my “freenas” volume for this tutorial.
3) Set the “Path” to the directory you want to share (e.g. /mnt/freenas). Make sure to create this directory if it doesn’t already exist.
4) Set the “Comment” field to something descriptive (e.g. “My Windows Share”).
5) Make sure the “Browsable” and “Guest Access” checkboxes are selected, then click the “Add Share” button at the bottom of the page.
Setting up the windows share
This setup will use Samba to provide file shares to a windows client. Setting up a windows share on FreeNAS is a simple process that can be accomplished in the web interface. Once the service has been enabled, adding shares is very straightforward.
- To enable the Samba service, go to Services ‣ Samba ‣ Enable.
- With the service enabled, go to Shares ‣ Windows Shares ‣ Add Windows Share.
- Give the share a name and select which volume you would like to use for the share from the drop-down menu. You can also specify whether or not this share should be hidden from other servers on the network by selecting the “Hide this share” option.
![enter image description here](https://i
Configuring the windows share
Configuring the windows share is a simple process. You will need to specify the name of the share, the path to the directory you wish to share, and the permissions for the share. You can also specify a description for the share.
Once you have entered all of the required information, click on the “Create” button. Your new Windows share will now be available to all users on your network.
Testing the setup
After you have made the necessary changes, you will need to test the setup to ensure that it is working properly. To do this, you will need to access the Windows share from a Windows machine.