smb.conf.j2 867 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # See smb.conf.example for a more detailed config file or
  2. # read the smb.conf manpage.
  3. # Run 'testparm' to verify the config is correct after
  4. # you modified it.
  5. [global]
  6. workgroup = SAMBA
  7. security = user
  8. passdb backend = tdbsam
  9. printing = cups
  10. printcap name = cups
  11. load printers = yes
  12. cups options = raw
  13. [homes]
  14. comment = Home Directories
  15. valid users = %S, %D%w%S
  16. browseable = No
  17. read only = No
  18. inherit acls = Yes
  19. [printers]
  20. comment = All Printers
  21. path = /var/tmp
  22. printable = Yes
  23. create mask = 0600
  24. browseable = No
  25. [print$]
  26. comment = Printer Drivers
  27. path = /var/lib/samba/drivers
  28. write list = @printadmin root
  29. force group = @printadmin
  30. create mask = 0664
  31. directory mask = 0775