Creating and Configuring CIFS Shares

Creating and Configuring CIFS Shares

The Common Internet File System (CIFS) is the standard way that computer users share files across corporate intranets and the Internet. It provides users with seamless file and print interoperability between VMs and Windows-based clients. CIFS allows multiple clients to access and update the same file while preventing conflicts by providing file sharing and file locking.

Buurst's SoftNAS uses Samba Windows File Sharing for secured, stable and fast file sharing and print services. It allows the networking of Microsoft Windows®, Linux, UNIX, and other operating systems together, enabling access to Windows-based file and printer shares. Samba seamlessly integrates Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.

Covered in this document:

1. Shared Files Grid

The Shared Files Grid displays the list of all shared files in a tabular grid format. It has the following fields.

Field

Description

Field

Description

Share Name

It is the name of the share.

Path

It specifies the path that is shared.

Security

It shows the type of security available for the share.

2. Selecting All Shares

Located along the top of the Samba File Sharing Wizard.


Click the Select All button and all the shared files in the list will be selected.

3. Inverting Selection

Located along the top of the Samba File Sharing Wizard.


Click the Invert Selection button and the selection of the shared files in the list will be inverted.

4. Creating a New File Share

Located along the top of the Samba File Sharing Wizard.

Before you start creating a new file share, it is better to configure the default windows network environment settings.

On the CIFS Shares panel, click the Create a New File Share link.  The Create File Share section of the panel will be displayed.


  1. Select the first button and enter the name of the share that will appear as the network mount point in the Share Name text entry box.

  2. The Directory to share is the path to the Volume that was created in the prior step. Click the Browse button to select the Volume from the filesystem for sharing.

  3. Set the Automatically Create Directory field option to be Yes.

  4. The Create with Owner field determines which Linux user will be assigned to the shared folder.

  5. Enter the permission mask in the Create with Permissions text entry box.

  6. The Create with Group field determines which Linux group will be assigned to the shared folder.

  7. To make the share to be available on the network, check the Yes option in the Available field.

  8. To make the share to be browsable on the network, check the Yes option in the Browsable field.

  9. In the Share Comment text box, enter the comment if any to display to users who browse the share.

  10. Once done, click the Create button.

 

The new file share will be created and is viewable from the Shared Files Grid.

5. Creating a New Printer Share

Located along the top of the Samba File Sharing Wizard.

On the CIFS Shares panel, click the Create a New Printer Share link. The Create Printer Share page will be displayed. 
  1. In the Share name field, make sure the first button is selected and enter a unique alphanumeric name for your share into the text box.

  2. From the Unix Printer field, select the printer to make available to SMB clients.

  3. In the Spool directory field, enter or browse for the name of a directory in which temporary files for printing are stored.

  4. To disable this printer so that it cannot be used, change the Available field to No.

  5. To hide this printer from the list that appears when the server is browsed, change the Browseable field to No.

  6. In the Share Comment field, enter a short description for this printer.

  7. Once done, click the Create button.