Guest User

Samba config

a guest
Feb 13th, 2022
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. ...
  2.  
  3. [global]
  4. rpc_server:spoolss = external
  5. rpc_daemon:spoolssd = fork
  6. printing = CUPS
  7. cups options = raw
  8.  
  9. ...
  10.  
  11. [ML2160]
  12. comment = Samsung ML-2160 Laser Printer
  13. printer = ml2160
  14. path = /var/spool/samba
  15. printing = cups
  16. printable = yes
  17. user client driver = yes
  18. # to allow user 'guest account' to print.
  19. guest ok = yes
  20. writable = yes
  21. write list = root @adm @wheel asus
  22.  
  23. [printers]
  24. comment = All Printers
  25. path = /usr/spool/samba
  26. browseable = yes
  27. # Set public = yes to allow user 'guest account' to print
  28. guest ok = yes
  29. writable = yes
  30. printable = yes
  31. create mask = 0700
  32.  
  33. [print$]
  34. comment = Printer Drivers
  35. path = /var/lib/samba/printers
  36. browseable = yes
  37. read only = yes
  38. guest ok = yes
Advertisement
Add Comment
Please, Sign In to add comment