sebbu

smb.conf

Jun 30th, 2020
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file is auto-generated.  Do not modify!
  2.  
  3. [printers]
  4.  path = /var/spool/samba
  5.  printable = 1
  6.  public = 1
  7.  use client driver = 1
  8.  
  9. [global]
  10. #aio read size = 16384
  11. #aio write size = 16384
  12.  allow trusted domains = 1
  13.  delete readonly = 1
  14.  dos charset = CP437
  15.  encrypt passwords = 1
  16.  follow symlinks = 1
  17.  guest account = nobody
  18.  hostname lookups = 0
  19.  invalid users = root
  20.  load printers = 1
  21.  local master = 1
  22.  log level = 0 auth:2
  23.  map acl inherit = 1
  24.  map to guest = Bad User
  25.  max log size = 256
  26.  min protocol = SMB2
  27.  min receivefile size = 16384
  28.  name resolve order = "lmhosts host wins bcast"
  29.  null passwords = 1
  30.  obey pam restrictions = 1
  31.  oplocks = 0
  32.  passdb backend = tdbsam
  33.  passwd program = "/usr/bin/passwd %u"
  34.  preferred master = 1
  35.  preserve case = 1
  36.  protocol = SMB2
  37. read raw = true
  38.  security = user
  39.  server string = %h
  40.  short preserve case = 1
  41. #socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=262144 SO_RCVBUF=262144
  42.  socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=262144 SO_RCVBUF=262144
  43.  store dos attributes = 1
  44.  use sendfile = yes
  45.  syslog = 0
  46.  syslog only = 0
  47.  template homedir = /c/home/%U
  48.  unix charset = UTF-8
  49.  unix extensions = 0
  50.  unix password sync = 1
  51.  veto files = "/TheVolumeSettingsFolder/TheFindByContentFolder/Network Trash Folder/Temporary Items/Thumbs.db/desktop.ini/.svn/.git/.hg/.cvs/.AppleDB/.AppleDesktop/.AppleDouble/.TemporaryItems/.DS_Store/"
  52.  wide links = 1
  53.  wins server =
  54.  wins support = 1
  55.  workgroup = WORKGROUP
  56. write raw = true
  57.  
  58. include = /etc/frontview/samba/smb.conf.%a
  59. include = /etc/frontview/samba/Shares.conf
  60. include = /etc/frontview/samba/Shares.conf.%U
  61. include = /etc/frontview/samba/addons/addons.conf
  62.  
  63. [homes]
  64.  admin users = "admin","Administrator"
  65.  browseable = 0
  66.  comment = "Private user folder"
  67.  public = 0
  68.  root preexec = "/bin/chmod 700 /c/home/%U"
  69.  valid users = %S,"admin","Administrator"
  70.  writeable = 1
Add Comment
Please, Sign In to add comment