SMB service: Difference between revisions

From Scalelogic Wiki
Jump to navigation Jump to search
migrate>Mi-S
No edit summary
No edit summary
 
Line 1: Line 1:
<span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">With this function you can enable/disable the SMB service.</span></span>
With this function you can enable/disable the SMB service.


<span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">These options could also be set to SMB service:</span></span>
These options could also be set to SMB service:
<ul style="margin-top:0pt;margin-bottom:0pt;">
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''hide special folders''' - </span><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">this option hides special folders that are created by MAC OS/OSX systems. &nbsp;With this option enabled, users cannot see MAC OS/OSX system files via the SMB protocol. &nbsp;</span><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 700; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">Please note: &nbsp;</span><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">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").</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''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.</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''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.</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''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.</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''oplocks''' - opportunistic locking mechanism designed to improve the performance by controlling the network files caching by a client.</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''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.</span></span></li>
</ul>


<span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">MAC OS/OSX system files:</span></span>
*'''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").
<ol style="margin-top:0pt;margin-bottom:0pt;">
*'''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.
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.DS_Store(:2eDS_Store),</span></span></li>
*'''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.
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.AppleDouble,</span></span></li>
*'''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.
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">Temporary Items,</span></span></li>
*'''oplocks''' - opportunistic locking mechanism designed to improve the performance by controlling the network files caching by a client.
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">Network Trash Folder,</span></span></li>
*'''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.
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">TheFindByContentFolder,</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">TheVolumeSettingsFolder,</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.AppleDesktop,</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.AppleDB,</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">Icon?,</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.VolumeIcon.icns(:2eVolumeIcon.icns),</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.FBCIndex(:2eFBCIndex),</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">.FBCLockFolder(:2eFBCLockFolder),</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">desktop.ini,</span></span></li>
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">RECYCLER.<br/><br/></span></span></li>
</ol>
<ul style="margin-top:0pt;margin-bottom:0pt;">
<li><span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''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</span></span></li>
</ul>


<span style="font-size:small"><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">'''superusers''' - you can choose which user can be treated as a superuser. </span><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline">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 &nbsp;shares. This includes all files and directories, even those of which the superuser does not have ownership.</span></span>
 
MAC OS/OSX system files:
 
#.DS_Store(:2eDS_Store),
#.AppleDouble,
#Temporary Items,
#Network Trash Folder,
#TheFindByContentFolder,
#TheVolumeSettingsFolder,
#.AppleDesktop,
#.AppleDB,
#Icon?,
#.VolumeIcon.icns(:2eVolumeIcon.icns),
#.FBCIndex(:2eFBCIndex),
#.FBCLockFolder(:2eFBCLockFolder),
#desktop.ini,
#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.


[[Category:Help topics]]
[[Category:Help topics]]

Latest revision as of 07:51, 28 March 2019

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.