SMB service

From Open-E Wiki
Jump to navigation Jump to search

With this function you can enable/disable the SMB service.

These options could also be set to SMB service:

  • hide special folders - this option hides special folders that are created by MAC OS/OSX systems. With this option enabled, users cannot see MAC OS/OSX system files via the SMB protocol. Please note: This also prevents users from creating files and folders with the same names (e.g., it will be impossible to create a file called "Network Trash Folder").
  • vfs_fruit - the vfs_fruit module provides enhanced compatibility with Apple SMB clients and addresses the most common challenges regarding access to the same set of data from OS X clients via AFP and SMB: File/record locking, encoding quirks introduced by Apple and especially access to Finder metadata and resource forks. Using this module can improve AFP and SMB performance and integration.
  • smb2 leases - the SMB2 protocol allows clients to aggressively cache files locally, above, and beyond the caching allowed by SMB1 and SMB2 oplocks. SMB2 leases can significantly reduce traffic on an SMB2 connection.
  • level2 oplocks - if an exclusive OpLock is held by a client and a locked file is opened by a third party, the client has to relinquish its exclusive OpLock in order to allow the other client's write/read access. A client may then receive a "Level 2 OpLock" from the server. A Level 2 OpLock allows the caching of read requests, but excludes write caching.
  • oplocks - opportunistic locking mechanism designed to improve the performance by controlling the network files caching by a client.
  • kernel oplocks - a parameter that notifies the server when a process is attempting to open the file that is cached. This parameter is aimed at sharing files between UNIX and Windows with oplocks enabled on the server. The process can open the file that is OpLocked (cached) by the Windows client and the server process will not send an oplock break, which exposes the file to the risk of data corruption. Kernel oplocks parameter enables the server to send the oplock break.


MAC OS/OSX system files:

  1. .DS_Store(:2eDS_Store),
  2. .AppleDouble,
  3. Temporary Items,
  4. Network Trash Folder,
  5. TheFindByContentFolder,
  6. TheVolumeSettingsFolder,
  7. .AppleDesktop,
  8. .AppleDB,
  9. Icon?,
  10. .VolumeIcon.icns(:2eVolumeIcon.icns),
  11. .FBCIndex(:2eFBCIndex),
  12. .FBCLockFolder(:2eFBCLockFolder),
  13. desktop.ini,
  14. RECYCLER.


  • unix extensions - this parameter controls whether Samba implements the CIFS UNIX extensions, as defined by HP. These extensions enable Samba to better serve UNIX CIFS clients by supporting features such as symbolic links, hard links, etc... These extensions require a similarly enabled client, and are of no current use to Windows clients
  • superusers - you can choose which user can be treated as a superuser. Superuser is a user who has permission to take ownership of folders and files which belong to other users. These rights can be useful when an administrator wants to change access rights (ACL) for folders or files created by other users. Superuser privileges allow the user to modify, remove, and add new files to shares. This includes all files and directories, even those of which the superuser does not have ownership.