Advertisement
Guest User

smb.conf part

a guest
Dec 19th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. # Please put comments on their own line starting with a # char.
  2. # Do not remove the next line! Doing so will prevent ZFSguru parsing this file
  3. #======================= Global Settings =====================================
  4.  
  5. [global]
  6. workgroup = *********
  7. server string = ZFSguru
  8. netbios name = ZFSguru
  9. security = share
  10. passdb backend = tdbsam
  11. load printers = no
  12. log file = /var/log/samba/log.%m
  13. log level = 2
  14. max log size = 50
  15. vfs objects = zfsacl
  16.  
  17. # regular user account used to store Samba files
  18. guest account = share
  19.  
  20. # default permissions (can be set in share for share-specific configuration)
  21. create mask = 2666
  22. directory mask = 2777
  23.  
  24. # this may impact performance; at the time of writing,
  25. # ZFS is not very optimized with sendfile (double memory copy)
  26. use sendfile = yes
  27.  
  28. # asynchronous I/O (improves performance on multiqueue I/O)
  29. aio read size = 2048
  30. aio write size = 2048
  31. aio write behind = yes
  32.  
  33. # fix free space reporting for ZFS filesystems
  34. dfree command = /usr/local/www/zfsguru/scripts/dfree "%P"
  35.  
  36. # uncomment the following to enable symbolic links even outside of share path
  37. follow symlinks = yes
  38. wide links = yes
  39. unix extensions = no
  40.  
  41. # socket options
  42. # try enabling and adapting if you encounter performance problems
  43. #socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
  44.  
  45.  
  46. # please do not remove the next line! Required by ZFSguru
  47.  
  48.  
  49. #============================ Share Definitions ==============================
  50.  
  51. [Jatek]
  52. path = /TANK2/Jatek
  53. comment =
  54. guest ok = yes
  55. read only = no
  56. browseable = yes
  57. write list = @share
  58. ea support = yes
  59. store dos attributes = yes
  60. dos filemode = yes
  61. acl group control = yes
  62. inherit permissions = yes
  63. inherit owner = yes
  64. inherit acls = yes
  65. map acl inherit = yes
  66. create mask = 2666
  67. force create mode = 2664
  68. directory mask = 2777
  69. force directory mode = 2775
  70. kernel change notify = no
  71. nfs4:acedup = merge
  72. nfs4:chown = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement