Advertisement
Guest User

Samba /etc/samba/smb.conf

a guest
Jun 20th, 2022
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [global]
  2. workgroup = SAMBA
  3. security = user
  4. passdb backend = tdbsam
  5. printing = cups
  6. printcap name = cups
  7. load printers = yes
  8. cups options = raw
  9. usershare path = /var/lib/samba/usershares
  10. usershare max shares = 100
  11. usershare allow guests = yes
  12. usershare owner only = yes
  13.  
  14. [homes]
  15. comment = Home Directories
  16. valid users = %S, %D%w%S
  17. browseable = Yes
  18. read only = No
  19. inherit acls = Yes
  20.  
  21. [printers]
  22. comment = All Printers
  23. path = /var/tmp
  24. printable = Yes
  25. create mask = 0600
  26. browseable = No
  27.  
  28. [print$]
  29. comment = Printer Drivers
  30. path = /var/lib/samba/drivers
  31. write list = @printadmin root
  32. force group = @printadmin
  33. create mask = 0664
  34. directory mask = 0775
  35.  
Advertisement
RAW Paste Data Copied
Advertisement