Sharing Folders in Mixed Environments

Sharing and exchanging documents is a must-have in corporate environments. Dolphin offers you file sharing with Samba, which makes your files and folders available to both Linux and Windows users. For information on how to install and set up Samba, refer to Kapitel Samba (↑Referenz). After you have installed Samba and set up a server, you can configure the folders to share with Dolphin. Dolphin then writes its configuration to a paragraph in the main Samba configuration file at /etc/samba/smb.conf.

Procedure 5.1. Configuring Samba File Shares with Dolphin

  1. Open Dolphin.

  2. Select Home, right-click the window background and then select Properties from the context menu.

  3. In the Properties dialog, click the Share tab. If file sharing is not yet enabled, you are alerted to this on the tab. To enable file sharing or select the files to share, click Configure File Sharing and enter the root password.

  4. To enable or disable file sharing, select or deselect Enable Local Network File Sharing.

    Figure 5.2. Enabling File Sharing

    Enabling File Sharing

  5. Select the appropriate sharing option: Simple Sharing or Advanced Sharing.

  6. To limit the number of users allowed to share folders to certain groups, click Allowed Users, select Only users of a certain group are allowed to share folders, click Choose Group, and select the appropriate group from the list in the window that opens. Click OK to close that window.

  7. In the File Sharing dialog, add the folder to share to the list of shared items by clicking Add at the bottom of the dialog and specifying the folder's exact path.

    Figure 5.3. Detailed Sharing Options

    Detailed Sharing Options

  8. Activate Share with Samba to enable Samba file sharing. If needed, apply some fine-tuning to the Samba options:

    Name

    Specify a name other than the preset default.

    Public/Writable

    Determine which kind of access to grant others to your share. You can grant users full read and write access or limit their access to read-only.

  9. Apply your settings and leave the file sharing dialog with OK.

    The folder now appears in Dolphin with a globe icon.

    Figure 5.4. Shared Folder: Music

    Shared Folder: Music

    To revoke the share, enter the file sharing dialog again and remove the folder from the list of shared items. The folder then appears without a globe icon.

Other members of your network can reach your share by entering smb:/ in the location bar of Dolphin and clicking the appropriate workgroup icon and hostname.

[Important]Samba Domain Browsing

Samba domain browsing only works if your system's firewall is configured accordingly. Either disable the firewall entirely or assign the browsing interface to the internal firewall zone. Ask your system administrator about how to proceed. This procedure is described in more detail in Section “Configuring a Linux Client for Active Directory” (Chapter 5, Active Directory Support, ↑Security Guide).