Difference between revisions of "User talk:Torch1"

(Created page with " # smb.conf parameters to use with Mac OSX clients # # NOTE - THIS IS NOT A COMPLETE SMB.CONF!!! # check Samba version: smbd -V # check build options: smbd -b # check c...")
 
(Blanked the page)
 
Line 1: Line 1:
# smb.conf parameters to use with Mac OSX clients
+
 
#
 
# NOTE - THIS IS NOT A COMPLETE SMB.CONF!!!
 
 
# check Samba version: smbd -V
 
# check build options: smbd -b
 
# check config: testparm
 
# check config including defaults: testparm -v
 
 
# NOTE - not all parameters may be valid for your version of Samba.
 
# NOTE - testparm will not validate vfs_fruit parameters.
 
# read smb.conf and vfs_fruit man pages for your version
 
 
# PREREQUISITES TO FUNCTION WITH OSX
 
#
 
[Global]
 
  min protocol = SMB2
 
# note - do not set a max protocol - Samba will negotiate highest
 
  ea support = yes
 
 
# NOT NEEDED WITH OSX
 
#
 
  disable netbios = yes
 
  dns proxy = no
 
  smb ports = 445
 
  name resolve order = host bcast
 
 
# ADD COMPATABILITY WITH OSX SMB
 
# adds alternate data streams (ADS) support
 
#
 
  vfs objects = catia fruit streams_xattr 
 
 
# SMB2+ AAPL EXTENSIONS
 
# file metadata - Unix mode, FinderInfo, resource fork size, permissions
 
#
 
  fruit:aapl = yes
 
  readdir_attr:aapl_rsize = yes
 
  readdir_attr:aapl_finder_info = yes
 
  readdir_attr:aapl_max_access = yes
 
  fruit:nfs_aces = yes
 
 
# OSX COPYFILE
 
#
 
  fruit:copyfile= yes
 
 
# STORE OSX METATDATA & RESOURCE FORK
 
# Netatalk compat xattr & ._ AppleDouble File
 
#
 
  fruit:metadata = netatalk
 
  fruit:resource = file
 
 
# FILE LOCKING
 
# no cross protocol locking
 
#
 
  fruit:locking = none
 
 
# MAP NTFS ILLEGAL CHARS TO UNICODE
 
#
 
  fruit:encoding = private
 
 
# PERFORMANCE TWEAKS
 
#
 
  smb2 leases = yes
 
  kernel oplocks = no
 
  use sendfile = yes
 
  strict sync = yes
 
  sync always = no
 
  aio read size = 1
 
  aio write size = 1
 
 
# FILE CLEANUP
 
#
 
  delete veto files = true
 
  unix extensions = yes
 
  fruit:posix_rename = yes
 
  fruit:model = MacSamba
 
  fruit:veto_appledouble = yes
 
  fruit:zero_file_id = yes
 
  fruit:wipe_intentionally_left_blank_rfork = yes
 
  fruit:delete_empty_adfiles = yes
 
 
# INCREASE R/W SIZES
 
# default with SMB2.1+ and LargeMTU (SMB, not TCP/IP)
 
  smb2 max read = 8388608
 
  smb2 max write = 8388608
 
  smb2 max trans = 8388608
 
 
# SPOTLIGHT
 
# change to yes with Gnome Tracker on server side
 
#
 
  spotlight = no
 
 
# TIME MACHINE
 
# separate share on server
 
#
 
[TimeMachineBackup]
 
  vfs objects = catia fruit streams_xattr
 
  fruit:time machine = yes
 
# furnish value before uncommenting
 
#  fruit:time machine max size = SIZE <<<<<
 
  path = /shares/TimeMachineBackup
 
  browseable = yes
 
  writeable = yes
 
  create mask = 0600
 
  directory mask = 0700
 
  strict sync = yes
 
# recommend to not index Time Machine
 
#
 
  spotlight = no
 

Latest revision as of 22:12, 19 April 2019