Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. [global]
  2. ; General server settings
  3. netbios name = your_netbios_name
  4. server string =
  5. workgroup = YOUR_WORKGROUP
  6. announce version = 5.0
  7. socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
  8.  
  9. passdb backend = tdbsam
  10. security = user
  11. null passwords = true
  12. username map = /etc/samba/smbusers
  13. name resolve order = hosts wins bcast
  14.  
  15. wins support = no
  16.  
  17. printing = CUPS
  18. printcap name = CUPS
  19.  
  20. syslog = 1
  21. syslog only = yes
  22.  
  23. ; NOTE: If you need access to the user home directories uncomment the
  24. ; lines below and adjust the settings to your hearts content.
  25. ;[homes]
  26. ;valid users = %S
  27. ;create mode = 0600
  28. ;directory mode = 0755
  29. ;browseable = no
  30. ;read only = no
  31. ;veto files = /*.{*}/.*/mail/bin/
  32.  
  33. ; NOTE: Only needed if you run samba as a primary domain controller.
  34. ; Not needed as this config doesn't cover that matter.
  35. ;[netlogon]
  36. ;path = /var/lib/samba/netlogon
  37. ;admin users = Administrator
  38. ;valid users = %U
  39. ;read only = no
  40.  
  41. ; NOTE: Again - only needed if you're running a primary domain controller.
  42. ;[Profiles]
  43. ;path = /var/lib/samba/profiles
  44. ;valid users = %U
  45. ;create mode = 0600
  46. ;directory mode = 0700
  47. ;writeable = yes
  48. ;browseable = no
  49.  
  50. ; NOTE: Inside this place you may build a printer driver repository for
  51. ; Windows - I'll cover this topic in another HOWTO.
  52. [print$]
  53. path = /var/lib/samba/printers
  54. browseable = yes
  55. guest ok = yes
  56. read only = yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement