Guest User

smb

a guest
Jan 19th, 2024
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. [global]
  2. workgroup = SAMBA
  3. security = user
  4.  
  5. passdb backend = tdbsam
  6.  
  7. printing = cups
  8. printcap name = cups
  9. load printers = yes
  10. cups options = raw
  11.  
  12. # Install samba-usershares package for >
  13. include = /etc/samba/usershares.conf
  14.  
  15. [homes]
  16. comment = Home Directories
  17. valid users = %S, %D%w%S
  18. browseable = Yes
  19. read only = No
  20. inherit acls = Yes
  21.  
  22. [gabriel]
  23. path = /home/gabriel
  24. writeable = yes
  25. browseable = yes
  26. force user = gabriel
  27. guest ok = yes
  28.  
  29. [printers]
  30. comment = All Printers
  31. path = /var/tmp
  32. printable = Yes
  33. create mask = 0600
  34. browseable = No
  35.  
  36. [print$]
  37. comment = Printer Drivers
  38. path = /var/lib/samba/drivers
  39. write list = @printadmin root
  40. force group = @printadmin
  41. create mask = 0664
  42. directory mask = 0775
Advertisement
Add Comment
Please, Sign In to add comment