Network Administration: Samba Share Creation - dummies

Network Administration: Samba Share Creation

To be useful, a file server should offer one or more shares — directories that have been designated as publicly accessible via the network. You can see a list of the current shares available from a file server by firing up the Samba Server Configuration program.

To create a new share, follow these steps:

  1. Click the Add button.

    The dialog box appears.


  2. Type the path for the directory that you want to share in the Directory text box.

    If you aren’t sure of the path, you can click the Browse button. This action calls up a dialog box that lets you search the server’s file system for a directory folder to share. You can also create a new directory from this dialog box if the directory that you want to share doesn’t yet exist.

    After you’ve selected or created the directory to share, click OK to return to the Create Samba Share dialog box.

  3. Type a description of the share in the Description text box.

    The description is strictly optional but can sometimes help users to determine the intended contents of the folder.

    You may be wondering why there’s no text box labeled Share Name in the Create Samba Share dialog box. Unfortunately, the Samba Configuration program doesn’t let you specify the share name for the share. Instead, it just uses the name of the directory being shared.

    If a share already exists by that name, the configuration program adds a number to the end of the directory name in order to make the share name unique.

    Don’t despair, however. You can change the share name by editing the smb.conf file.

  4. Specify whether you want the share to be read-only or read/write.

    The default is read-only. If you want to let users save their files on your Samba server, you need to change this setting to read/write.

  5. Click the Access tab.

    The Access tab of the Create Samba Share dialog box appears.


  6. If you want to limit access to the share, select the Only Allow Access to Specific Users check box and then select the users to whom you want to grant access.

    Note that users’ names will appear in this box only if you create Samba users.

  7. Click OK.

    You’re returned to the Samba Configuration window, where the share that you just added appears in the list of shares.

When you create a new share by using the Samba Configuration program, the share should be immediately visible to other network users. If it isn’t, try restarting the Samba server.