Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
fester:shares_basic [2017/06/19 10:54] – [Share Creation and Configuration] admin | fester:shares_basic [2017/06/19 11:07] – [Share Creation and Configuration] admin | ||
---|---|---|---|
Line 20: | Line 20: | ||
===== Share Creation and Configuration ===== | ===== Share Creation and Configuration ===== | ||
+ | |||
+ | ==== User Creation ==== | ||
Go to the “Accounts” page (1) and click the “Add Group” button (2). | Go to the “Accounts” page (1) and click the “Add Group” button (2). | ||
Line 76: | Line 78: | ||
{{: | {{: | ||
+ | |||
+ | ==== Dataset Creation ==== | ||
Now we need to create the dataset. | Now we need to create the dataset. | ||
Line 138: | Line 142: | ||
{{: | {{: | ||
+ | |||
+ | ==== Share Creation ==== | ||
+ | |||
+ | Now we need to create a CIFS share. On a network that utilises predominately Windows clients this is a good choice. | ||
+ | |||
+ | Go to the “Sharing” page. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now click the “Windows (CIFS)” button (1) and then click the “Add Windows (CIFS) Share” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | A new smaller window will pop up. | ||
+ | |||
+ | In the “Path:” section click the “Browse” button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The window should now expand a little and allow you to navigate to the newly created dataset (1). | ||
+ | |||
+ | When you have it selected click the “Close” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The “Path:” text box (1) should now display the chosen dataset. | ||
+ | |||
+ | Do not tick the “Use as home share:” tick box (2) at the moment. | ||
+ | |||
+ | Give the share a name in the “Name:” text box (3). | ||
+ | |||
+ | Put a tick in the “Apply Default Permissions: | ||
+ | |||
+ | Do not tick the “Allow Guest Access:” tick box (5). | ||
+ | |||
+ | Now click the “OK” button (6). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | If all goes well you will see the newly created CIFS share entry (1). | ||
+ | |||
+ | You will now be asked if you wish to enable the CIFS share service. | ||
+ | |||
+ | Click the “No” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== CIFS/SMB Configuration ==== | ||
+ | |||
+ | Now go to the “Services” page. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Click on the little spanner next to the “CIFS” service (1). | ||
+ | |||
+ | A new window will pop up. | ||
+ | |||
+ | The NetBIOS name will already be present in the “NetBIOS Name:” text box (2). | ||
+ | |||
+ | In the “Workgroup” text box (3) type in the name of the workgroup you want to use on the client machines (Fester used **T ESTWORKGROUP** because it is an experimental starter share). If you don’t know your Workgroup then skip to the relevant section on how to do this. | ||
+ | |||
+ | Type in a good name for the CIFS share in the “Description: | ||
+ | |||
+ | Do not alter the default values of the “DOS charset: | ||
+ | |||
+ | Leave the “Use syslog only:” (6) at its default (no tick). | ||
+ | |||
+ | Make sure the “Local Master:” tick box (7) is ticked. | ||
+ | |||
+ | Leave “Domain logons:” (8) unticked. | ||
+ | |||
+ | Leave “Time Server for Domain:” (9) ticked. | ||
+ | |||
+ | Leave “Guest account:” (10) at **nobody**. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Do not put anything in the “File mask:” and “Directory mask:” text boxes (11) unless you really understand UNIX permissions (Fester can’t help you here). | ||
+ | |||
+ | Do not tick the “Allow Empty Password: | ||
+ | |||
+ | Leave the “Unix Extensions: | ||
+ | |||
+ | Untick the “Hostnames lookups:” tick box (14) otherwise you will keep getting a name mismatch error. | ||
+ | |||
+ | Set the “Server maximum protocol: | ||
+ | |||
+ | Leave the “Allow execute always:” tick box (16) in its default setting (with a tick). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Fester has no idea what the “Obey pam restrictions: | ||
+ | |||
+ | Don’t tick any of the IP address text boxes (18) in the “Bind IP Addresses: | ||
+ | |||
+ | The “Idmap Range Low:” and “Idmap Range High:” settings (19) Fester does not touch as I don’t know what they do. | ||
+ | |||
+ | Now click on the “OK” button (20). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | __Do not turn on the CIFS share service yet__. We first need to check if the Workgroup on the Windows client is set correctly. | ||
+ | ==== Windows Client Configuration ==== | ||
+ | |||
+ | Click on the “Start” button and go into the “Control Panel” in Windows and select “System and Security” (this was on a Windows 7 machine). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Now click on “System”. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In the “System” page we can see the Workgroup is set to **TWERKGROUP** (1). This must be changed to match the Workgroup name you created in the CIFS settings a moment ago (in Fester’s case this was TESTWORKGROUP). | ||
+ | |||
+ | Click on “Change settings” blue text (2) to access the screen where we can change the Workgroup name. | ||
+ | |||
+ | You will probably be asked for the administrator’s password at this point. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | A smaller window will now pop up. | ||
+ | |||
+ | Click on the “Change” button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Another window will now pop up. | ||
+ | |||
+ | Change the text in the Workgroup text box (1) to the one you created in the CIFS settings page (in Fester’s case this was **TESTWORKGROUP**) and click the “OK” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Yet another window will pop up showing the Workgroup has now been changed. | ||
+ | |||
+ | Click the “OK” button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | A message window will now appear telling you the changes will be implemented when the computer is restarted. | ||
+ | |||
+ | Click the “OK” button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | As can be seen from the next screen shot the Workgroup has been changed to “TESTWORKGROUP” (1). | ||
+ | |||
+ | Click the “Close” button (2). | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The system will now ask to be restarted. This must be done before going any further. | ||
+ | |||
+ | Close any open windows, save and close any open programs, etc. | ||
+ | |||
+ | Now click on the “Restart Now” button. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | That’s the Windows Workgroup configured. | ||
+ | |||
+ | The client computer will now reboot, when it does log back into the FreeNAS GUI. | ||